yourkiller 3 Posted November 17, 2018 Report Share Posted November 17, 2018 I'm trying to make a simple commenting bot, but the comments I'm trying to automate don't have a submit button. They are submitted by pressing the enter button and I have trouble making that work. How do you guys deal with this problem? Quote Link to post Share on other sites
HelloInsomnia 1103 Posted November 17, 2018 Report Share Posted November 17, 2018 You can send an enter key in type text using {ENTER} just add it to another type text like so: navigate("https://www.google.com/","Wait") type text(<name="q">,"example","Standard") wait(0.1) type text(<name="q">,"\{ENTER\}","Standard") 1 Quote Link to post Share on other sites
yourkiller 3 Posted November 18, 2018 Author Report Share Posted November 18, 2018 That's great! Thank you! Unfortunately, the type text command does not work with the particular text field and I actually input the text with the change variable command. Quote Link to post Share on other sites
Pete 121 Posted November 18, 2018 Report Share Posted November 18, 2018 try type text(<name="q">,"myip{$new line}","Standard") Quote Link to post Share on other sites
HelloInsomnia 1103 Posted November 19, 2018 Report Share Posted November 19, 2018 That's great! Thank you! Unfortunately, the type text command does not work with the particular text field and I actually input the text with the change variable command. If you can post the site maybe somebody would be able to figure it out for you. 1 Quote Link to post Share on other sites
yourkiller 3 Posted November 19, 2018 Author Report Share Posted November 19, 2018 If you can post the site maybe somebody would be able to figure it out for you. I found a way to implement the text type command and then your suggestion worked like a breeze! Thanks, it helped a lot! 1 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.