1

I was trying to understand how chromedriver.exe is communicating with Chrome browser internally. What kind of communication channel and protocol is used for such purpose.

I was looking for some architecture diagrams and high level description, but could not found one.

Is it possible to communicate directly with the browser (for automation purposes) without having chromedriver.exe as a proxy ?

1 Answer 1

5

See this answer from the Chrome Driver users group which includes a high level description of how chromedriver.exe communicates with the Chrome browser.

"[...] ChromeDriver implements the WebDriver protocol, which is a REST-like interface [...]. WebDriver clients communicate with ChromeDriver by sending HTTP requests. ChromeDriver then communicates with the browser through the DevTools remote debugging interface, which is a WebSockets interface [...]."

It is possible to communicate directly with the Chrome browser using the Chrome DevTools Interface however if not using WebDriver and Selenium it may require a significant amount of work to use this interface for automation purposes.

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.