stever 10 Posted July 12, 2017 Report Share Posted July 12, 2017 Hi - I have a simple problem: can't click buttons in Reddit when trying to login and post. Here's the login bit - the click in the last line doesn't work. clear cookies navigate("https://www.reddit.com/login","Wait") wait for browser event("Page Loaded","") wait(3) type text($element offset(<class="c-form-control">,4),$list item(%LoginNames,#LoopCounter),"Standard") wait for browser event("Everything Loaded","") wait(3) type text($element offset(<class="c-form-control">,5),$list item(%LoginPW,#LoopCounter),"Standard") wait(3) click(<class="c-btn c-btn-primary c-pull-right">,"Left Click","No") User agent is Chrome but I've tried others. Using Chrome 49 browser, but Chrome 21 browser doesn't work either. What can be done? I have Ubot standard edition. Thanks Quote Link to post Share on other sites
dmbfan 9 Posted July 12, 2017 Report Share Posted July 12, 2017 This worked for me: clear cookiesset user agent("iPhone")navigate("https://www.reddit.com/login","Wait")wait for element(<username field>,"","Appear")type text(<username field>,$list item(%LoginNames,#LoopCounter),"Standard")wait for element(<password field>,"","Appear")type text(<password field>,$list item(%LoginPW,#LoopCounter),"Standard")wait for element(<class="SquareButton__content">,"","Appear")click(<class="SquareButton__content">,"Left Click","No") 1 Quote Link to post Share on other sites
stever 10 Posted July 13, 2017 Author Report Share Posted July 13, 2017 Thanks - that did the trick. Lesson learned: try mobile user agents if Chrome and Firefox don't work! Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.