esthonwood 0 Posted May 31, 2013 Report Share Posted May 31, 2013 Hi guys, I noticed that the wait for browser event command (everything loaded) sometimes doesn't wait for the browser to fully load especially when it's dealing with sites that have endless scrolling and/or when it is inside a loop. I need to add an additional wait command of a few seconds after it. Any way to get around this problem? Thanks Quote Link to post Share on other sites
UBotDev 276 Posted May 31, 2013 Report Share Posted May 31, 2013 Use "wait for element" and provide the element you are waiting for, instead of using "wait" which adds a fixed delay. 1 Quote Link to post Share on other sites
esthonwood 0 Posted May 31, 2013 Author Report Share Posted May 31, 2013 Use "wait for element" and provide the element you are waiting for, instead of using "wait" which adds a fixed delay. Thanks for the suggestion. I'm having difficulty using "wait for element" when scrolling to bottom of a page where it has endless scrolling, like tumblr. I couldn't "catch" the element long enough to capture it. Any more suggestions? Quote Link to post Share on other sites
HelloInsomnia 1103 Posted May 31, 2013 Report Share Posted May 31, 2013 Thanks for the suggestion. I'm having difficulty using "wait for element" when scrolling to bottom of a page where it has endless scrolling, like tumblr. I couldn't "catch" the element long enough to capture it. Any more suggestions? This is the code for that element: <id="auto_pagination_loader"> But it's still on the page so you can't wait for it to disappear. I just use wait for everything loaded and then append an extra second or more of course if you want. Quote Link to post Share on other sites
esthonwood 0 Posted June 1, 2013 Author Report Share Posted June 1, 2013 This is the code for that element: <id="auto_pagination_loader"> But it's still on the page so you can't wait for it to disappear. I just use wait for everything loaded and then append an extra second or more of course if you want. That's exactly what I did. It's not an elegant solution but it works and suits my purpose. Thanks 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.