Jump to content
UBot Underground

Why "wait for browser event" won't save


Recommended Posts

My bot uses a lot of "wait for browser event" to check for Everything Loaded. But every time I save it and open the bot again, it the value DOM Ready. Is everyone have this problem too or is it just me? It is a very annoying problem when you have over 20 wait for browser event and have to change all of them everytime I open ubot.

Link to post
Share on other sites

I have no idea why that is happening for you but I have a temporary fix.

 

add this:

on load("Bot Loaded") {
    set(#everything_loaded, "Everything Loaded", "Global")
}

And then change the wait for browser event to be #everything_loaded

 

See if you can save it in a variable like that and hopefully it won't revert back to DOM Ready.

Link to post
Share on other sites

Cool. This is really smart. Thanks for the help.

 

I have no idea why that is happening for you but I have a temporary fix.

 

add this:

on load("Bot Loaded") {
    set(#everything_loaded, "Everything Loaded", "Global")
}

And then change the wait for browser event to be #everything_loaded

 

See if you can save it in a variable like that and hopefully it won't revert back to DOM Ready.

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...