We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Implement DevTools/BiDI in Python bindings that don't require using the async/await pattern. The proof-of-concept is implemented in 83112e1.
For now, provide lower-level API that can use DevTools/CDP directly. The high-level API will be added later on top of this.
from selenium.webdriver.common.bidi import cdp devtools = cdp.import_devtools(version) # execute commands driver.bidi().execute(devtools.runtime.enable()) # subscribe to events console_api_calls = [] driver.bidi().on(devtools.runtime.ConsoleAPICalled, lambda e: console_api_calls.append(e))
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Feature and motivation
Implement DevTools/BiDI in Python bindings that don't require using the async/await pattern. The proof-of-concept is implemented in 83112e1.
Usage example
For now, provide lower-level API that can use DevTools/CDP directly. The high-level API will be added later on top of this.
The text was updated successfully, but these errors were encountered: