forgot 0 Posted March 12, 2010 Report Share Posted March 12, 2010 I am making a bot, it submit info to certain site, then it click submit button and then after the new page complete loads, it again submits info. Nav - site.comSubmit infoPress submit buttonWait for finish ->>> Doesnt seem to work correctly, after it click submit button, it hardly waits for 4 sec and it continues to other steps.. So I set up it to delay for 30 seconds..Do other stuff when new page loads Is it just me (or this particular site problem?) Quote Link to post Share on other sites
alcr 135 Posted March 12, 2010 Report Share Posted March 12, 2010 Only a few ajax sites where it haven't worked for me, like facebook. So it's probably just that particular site. 1 Quote Link to post Share on other sites
Aaron Nimocks 19 Posted March 12, 2010 Report Share Posted March 12, 2010 If the page is done loading then it will do that. Its either wait for 30 seconds or until the page loads completely. Is that not what you are showing? Quote Link to post Share on other sites
crazyflx 22 Posted March 12, 2010 Report Share Posted March 12, 2010 The "Wait Until Finished" command can sometimes actually be a pain. The reason for this is because some sites are using AJAX to load new content for you after hitting the submit button. The "Wait Until Finished" command waits for a newly loaded page to finish loading, so if after hitting the submit button, it doesn't navigate to a new page, the bot is just going to assume that the page has finished loading and move on. What you can do is a "Wait For" command, and have it wait for a bit of chosen text to appear on the screen AFTER the submit button is pushed. So, if after pushing submit, the text "success" appears on the screen, right click on the word "success" then choose the "wait for" command. Now, it will wait until the word "success" appears before moving on. 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.