Python Forum
How to run multiple threads with selenium?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to run multiple threads with selenium?
#1
Hey,

So I've created a piece of code where my script goes to a given product url and it checks (about every second) if the product is in stock. As soon as it's instock it gives me a notification. Else it tries again.

So my goal is to let 1 instance of my program, try the process described above for multiple product url's at the same time (so not after each other). So I want multiple threads that each checks if the product they are on is instock (so every thread is on a different product).

How do I do this? Thanks in advance,

Julius
Reply


Messages In This Thread
How to run multiple threads with selenium? - by julio2000 - Feb-10-2020, 08:53 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Error in Selenium: CRITICAL:root:Selenium module is not installed...Exiting program. AcszE 1 3,642 Nov-03-2017, 08:41 PM
Last Post: metulburr

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020