Jump to content

Necessary Sleep Calls


Recommended Posts

Hey All, 

Just started working with osbot scripting a little while ago and I am noticing I have to sleep after every single action or else the action often doesn't take place. Is this normal behavior? 

For example a simple


often won't open the desired tab unless I sleep for around 500ms afterwards. I thought for the most part conditional sleeps were built into the functions but in practice it will often return true without finishing the action. I guess it's probably good practice to put sleeps after everything anyways to reduce ban rates but just wanted to know what best practices were around that.

Link to comment
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.
Note: Your post will require moderator approval before it will be visible.

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...