webpro 31 Posted April 27, 2014 Report Share Posted April 27, 2014 Is it me or the WAIT FOR BROWSER EVENT command isn't working (UB4) I didn't test it in UB5 to be honest.For instance, after i have a CLICK command running, it doesn't wait for the page to load before it goes to the next node.Wait for everything to load, page load etc,,, Don't do a thing Quote Link to post Share on other sites
Brutal 164 Posted April 27, 2014 Report Share Posted April 27, 2014 I have noticed the same thing lately webpro - So I started using the advanced option to set the timeout myself and that has worked well for me. Quote Link to post Share on other sites
webpro 31 Posted April 27, 2014 Author Report Share Posted April 27, 2014 I see Thanks for reporting Quote Link to post Share on other sites
Code Docta (Nick C.) 638 Posted April 27, 2014 Report Share Posted April 27, 2014 I use wait for element instead with the timeout much faster Quote Link to post Share on other sites
the_way 52 Posted April 27, 2014 Report Share Posted April 27, 2014 wait for the element that you need to progress your program. Quote Link to post Share on other sites
Steve 30 Posted April 27, 2014 Report Share Posted April 27, 2014 Yeah, I always use the wait for element too. Works great. Quote Link to post Share on other sites
webpro 31 Posted April 27, 2014 Author Report Share Posted April 27, 2014 Bahhh i guess i'm lazy as you have to find the "wait for" item/thing in way LOLBut there's an issue with this command for sure Quote Link to post Share on other sites
UBotDev 276 Posted April 28, 2014 Report Share Posted April 28, 2014 Using "wait for element" is the only secure wait, since it can also wait for javascript events, and I think you should always use it! That's just a bad excuse. Quote Link to post Share on other sites
blumi40 222 Posted April 28, 2014 Report Share Posted April 28, 2014 a loop while works fine for mewait for element needs much longernavigate("http://www.google.com", "Don\'t Wait")loop while($not($exists(<name="q">))) { wait(0.1)}type text(<name="q">, "done", "Standard") 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.