martincalatrava 0 Posted July 13, 2015 Report Share Posted July 13, 2015 Hi, I need to know or have some examples for: 1) When look for an image into website, I need to know if that image is not present, how can I make an If command to search for another image until one of them appears and then focus it and click on it? 2) Into a web page, I have a banner that appears from javascript code. Once the banner appears, into code appears a URL generated that point to that banner when click. I need to know hot to focus on that URL genarated from javascript and click on it. Please help. Quote Link to post Share on other sites
Code Docta (Nick C.) 638 Posted July 13, 2015 Report Share Posted July 13, 2015 usewait for element - this command has a timeout as well. be sure to set it. ifexistthen clickelse alert "not there"or just click Quote Link to post Share on other sites
Frank 177 Posted July 13, 2015 Report Share Posted July 13, 2015 To be honest, if you have an actual example, it's much easier to illustrate a good solution. Javascript really can make automation much more difficult - but not impossible. Frank 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.