Jump to content
View in the app

A better way to browse. Learn more.

OSBot :: 2007 OSRS Botting

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Selenium Threads vs Async

Featured Replies

Currently using threads with my account creator, looking into async, would I be able to make async work with selenium? Open several instances of firefox at once? Exactly as you're able to with threads but with async

1 hour ago, Its Not Okay said:

Currently using threads with my account creator, looking into async, would I be able to make async work with selenium? Open several instances of firefox at once? Exactly as you're able to with threads but with async

Don’t use selenium it’s far too RAM intensive. Use requests instead it’s quicker.

  • Author
1 hour ago, Impensus said:

Don’t use selenium it’s far too RAM intensive. Use requests instead it’s quicker.

I already built it with selenium, but I'll definitely checkout requests, do you know if async could be used with the anti-captcha api?

37 minutes ago, Its Not Okay said:

I already built it with selenium, but I'll definitely checkout requests, do you know if async could be used with the anti-captcha api?

If you’ve built it with selenium you already know all the fields to use in your requests so it will be quicker to send other.

Anti-captcha api will work the same way as 2captcha which I use. It should definitely work with async if you structure your code correctly. I would 100% recommend ditching selenium though.

  • Author
On 4/14/2019 at 11:51 PM, Impensus said:

If you’ve built it with selenium you already know all the fields to use in your requests so it will be quicker to send other.

Anti-captcha api will work the same way as 2captcha which I use. It should definitely work with async if you structure your code correctly. I would 100% recommend ditching selenium though.

Ditched Selenium and created it with requests, much cleaner! Just trying to wrap my head around using async code, working on converting my code to async. Were you able to get async to work with your account creator? I'm having an issue with returning the captcha key (it just skips over it )

Edit: It now doesn't skip over it but it's now running synchronously :/

Edit, this is what I have so far.

Edited by Its Not Okay

19 hours ago, Its Not Okay said:

Ditched Selenium and created it with requests, much cleaner! Just trying to wrap my head around using async code, working on converting my code to async. Were you able to get async to work with your account creator? I'm having an issue with returning the captcha key (it just skips over it )

Edit: It now doesn't skip over it but it's now running synchronously :/

Edit, this is what I have so far.

I didn’t make mine asynchronously I just spawn new threads when it is needed by the farm or on a timed basis. I don’t think you need to try super hard to get it working asynchronously as using requests will be so lightweight. It would be beneficial if you were still using selenium however.

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.