ed08724 6 Posted July 8, 2017 Report Share Posted July 8, 2017 I have a bot that seems to work for hours but then will randomly fail on these type statements.navigate(#urlaz,"Wait")wait for browser event("DOM Ready",9999)wait for browser event("Everything Loaded",9999)wait for element(<class="navFooterLine navFooterLinkLine navFooterDescLine">,9999,"Appear")save to file("{$special folder("My Documents")}\\babrowseraz.html",$document text)set(#category,$page scrape("<span class=\"nav-search-label\" style=\"width: auto;\">","</span>"),"Global") the error seems to occur on the $page scrape command. The line before saves $document text to a file and checking that file shows the correct page which contains both strings that I am scraping between so it seems the page is correctly and fully loaded before the page scrape. The error it gives isError: Value cannot be null.Parameter.name: collectionhttps://www.screencast.com/t/B8y1JXSIqd Thanks for any advice. Quote Link to post Share on other sites
pash 504 Posted July 9, 2017 Report Share Posted July 9, 2017 ubot errorhttp://support.ubotstudio.com/ 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.