-
Hi Folks, Only recently stumbled upon this project and just looking to understand a bit more about how it works in the background, I've had a read through the code but my python knowledge isn't too good and the project is so massive struggling to find my bearings (I come from more of a Java background). I'm particularly interested in the sub processing and CDP commands. I understand the logic of starting chrome in a separate process reduces chances of detection but then how is python communicating with the browser, is it via remote debugging or is it more generic CDP commands? I assumed it chromedriver wouldnt be able to communicate with a chrome window that's been opened externally so assumed it was either CDP or remote webdriver. Or am I missing understanding. If not is there any benefit in not enabling the remote debugging in the browser until after the page load ie send CDP command to activate the remote debugging after the fact? (I mainly write java so apologies if I've massively misunderstood the setup, mainly looking for some advice on whether my understanding is correct?) |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
Hello! Have you seen the new UC Mode video showing how it works, and how it fixes bugs with undetected-chromedriver? Many of your questions will be answered there. It dives into specifics. |
Beta Was this translation helpful? Give feedback.
-
How can I start SB and define another port to start the Browser and the Drive? I know there is a parameter for multithreading sys.argv.append("-n") that searches for a free port But I would like to define a port to start each instance I start. |
Beta Was this translation helpful? Give feedback.
Hello! Have you seen the new UC Mode video showing how it works, and how it fixes bugs with undetected-chromedriver?
https://www.youtube.com/watch?v=5dMFI3e85ig
Many of your questions will be answered there. It dives into specifics.
The
remote-debugging-host
andremote-debugging-port
are key components of the chromedriver/Chrome connection.