Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question] How does Playwright communicate with browsers? #4862

Closed
suryagh opened this issue Jan 1, 2021 · 1 comment
Closed

[Question] How does Playwright communicate with browsers? #4862

suryagh opened this issue Jan 1, 2021 · 1 comment

Comments

@suryagh
Copy link

suryagh commented Jan 1, 2021

I understand Playwright does not use Selenium. So, does Playwright use DevTools protocol to interact with browsers? I could not find much detail on how cross-browser is accomplished.

Is it DevTools? (+ something else too / browser-by-browser basis?) Any thoughts or comment is highly appreciated (Please feel free to point me to and doc/write-up, if there is one)

Thank you!

@JoelEinbinder
Copy link
Contributor

We use the DevTools Protocol to communicate with Chromium. For Firefox and WebKit, we implemented on our own protocols similar to the chrome one. You can find these in the browser_patches folder.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants