#20·helium

Running multiple instances in parallel

Author: TheBestMosheCreated Apr 29, 2020Updated Jan 16, 2024

I've been using Selenium to run multiple browser windows in parallel. To do this I would simply start a new Chrome instance and place all the driver references into a list. I then send each instance to a thread to run through its instructions. However, it doesn't seem like this is possible with Helium as, as far as I can tell, there is just one global Helium instance and I need to set the driver before executing the command. However, when I run this in multiple threads, the wrong commands get called.

Is there to have multiple instances of Helium at one time?