-
Hello, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 14 replies
-
For getting process IDs and other system internals, there's a separate library you can use called But if you're just trying to avoid overlapping drivers in UC Mode during browser launches (when not using |
Beta Was this translation helpful? Give feedback.
-
Maybe you wanted this?
|
Beta Was this translation helpful? Give feedback.
For getting process IDs and other system internals, there's a separate library you can use called
psutil
:https://pypi.org/project/psutil/
But if you're just trying to avoid overlapping drivers in UC Mode during browser launches (when not using
pytest
), then you need to enable SeleniumBase thread-locking (sys.argv.append("-n")
) so that the browsers don't try to use the same port at the same. I explained how to do that in the 2nd UC Mode video tutorial on YouTube:https://www.youtube.com/watch?v=2pTpBtaE7SQ&t=1386s