webpro 31 Posted July 24, 2014 Report Share Posted July 24, 2014 Don't know what i'm doing wrong but i just can't click on those !@#$#@%$ buttons !I have scrapped all of the button ideas and added them to a list%ids (0): 594146 (1): 584114 (2): 514124 (3): 524642 (4): 544741 Click code: click($element from text("<outerhtml=w\"<td> <form action=\\\"/account.cgi\\\" method=\\\"POST\\\"> <input type=\\\"hidden\\\" name=\\\"f\\\" value=\\\"profile_msg\\\"> <input type=\\\"hidden\\\" name=\\\"id\\\" value=\\\"{$next list item(%ids)}\\\"> <button type=\\\"submit\\\" style=\\\"color:#000000\\\"><img src=\\\"http://static.site.com/images/ico-message.gif\\\" align=\\\"absmiddle\\\"> Send message</button> </form> </td>\">"), "Left Click", "No") Here is the html <form action="/account.cgi" method="POST"> <input type="hidden" name="f" value="profile_msg"> <input type="hidden" name="id" value="574140"> <button type="submit" style="color:#000000"><img src="http://static.site.com/images/ico-message.gif" align="absmiddle"> Send message</button> </form> Let me knowTHANKS !!! Quote Link to post Share on other sites
Bot-Factory 602 Posted July 24, 2014 Report Share Posted July 24, 2014 Is that a public website? Could you share it so that we can take a look and test on the site directly? Dan Quote Link to post Share on other sites
LazyBotter 188 Posted July 24, 2014 Report Share Posted July 24, 2014 If there are multiple buttons can you not use the $element offset? click($element offset(<tagname="button">, 1), "Left Click", "No") Quote Link to post Share on other sites
UBotDev 276 Posted July 24, 2014 Report Share Posted July 24, 2014 Also...why are you clicking a form instead of a button? Doesn't clicking the button 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.