Jump to content
UBot Underground

Recommended Posts

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 is
Error: Value cannot be null.
Parameter.name: collection
https://www.screencast.com/t/B8y1JXSIqd
 
Thanks for any advice.
Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...