Closed training0112 closed 2 years ago
the problem is solved, just use a different userDataPath for each driver
Sorry for the late reply, I am also researching this issue these days. You are right, must use independent userDataDir and options to start multiple instances.
Now I have implemented the function of automatically creating userDataDir in new version, if userDataDir is not specified, the code will automatically generate a temporary directory and delete it after the end.
thanks for sharing, i tried and it works fine, but i faced a problem, after creating 2 drivers(driver and driver2), go to different or same url, only 1 works, the other don't do anything, and driver2 use same options with driver, this doesn't happen with standard version
in this case only driver go https//www.bing.com