bot-guru 1 Posted December 17, 2011 Report Share Posted December 17, 2011 Hi people ! I'm an Imacros Veteran.It's been 3 days since I started using Ubot. And I should say, the migration was pretty quick and I have almost converted all the macros which I have done in Imacros to Ubot. Alright, let's get into the topic. 1- At the moment, I'm in the middle of creating a bot that registers accounts in a site.2- I have a csv file in which the URL's of sites are stored.3- The bot loops through the file and navigates to each URL in the file(csv file).4- It works. ..but I still have a concern.5- Certain sites, take like 3-4 minutes to just load. And I can't wait that long for a site.6- So, my question is - is there any way to pass on to the next site, if a particular site doesn't load in x seconds?7- In Imacros, I'm able to set the limit, and I usually set it to 30 seconds. I know there will be a solution for this.So, eagerly waiting for a reply .... And yeah, if anyone need more clarification on this, just let me know...my eyes will be on this thread.... Thanks Quote Link to post Share on other sites
Praney Behl 314 Posted December 17, 2011 Report Share Posted December 17, 2011 it is surely possible. you can do it with a combination of navigate and wait for browser commands and limit it to the no. of secs. max. you would like it to wait. 1 Quote Link to post Share on other sites
Ira_Hayes 4 Posted December 17, 2011 Report Share Posted December 17, 2011 Also I've noticed on the "wait for element" function, it waits for maybe 30 seconds, then moves on anyway. Try that one out and see if it works. Quote Link to post Share on other sites
bot-guru 1 Posted December 17, 2011 Author Report Share Posted December 17, 2011 Hi, Thanks for the help people ! But, I Still couldn't figure out how it must be done.But there's definitely an improvement in my code.... I made the following changes :- 1- Under navigate command, I have set "wait for page load" to "do not wait".2- Then the next command I used is wait for element. Alright, so, this way, things are working pretty much the way I want. But not fully. I'll tell you why :- 1- I have set "wait for element" - to -> wait for "one of the textbox field in the page".2- And the wait is till it appears.3- Now, the timeout I have set is 3 sec.4- But I can still see the page loading for more than 3 sec. Can anyone tell me why?Is it because, I have set it to 3 sec? Quote Link to post Share on other sites
bot-guru 1 Posted December 17, 2011 Author Report Share Posted December 17, 2011 Hurray !!!!It's working !!!! Coolsome. Now lemme move onto the next thing. Quote Link to post Share on other sites
Praney Behl 314 Posted December 17, 2011 Report Share Posted December 17, 2011 Glad it all worked out for you.. 1 Quote Link to post Share on other sites
bot-guru 1 Posted December 17, 2011 Author Report Share Posted December 17, 2011 Yup, man thanks.Moved onto the next thing.And thanks for your quick help. Appreciated. Quote Link to post Share on other sites
Praney Behl 314 Posted December 17, 2011 Report Share Posted December 17, 2011 No problemo! Glad I could help 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.