SeleniumHQ / selenium

A browser automation framework and ecosystem.
https://selenium.dev
Apache License 2.0
30.18k stars 8.11k forks source link

[🚀 Feature]: Mark CDP usage as deprecated #13990

Open titusfortner opened 3 months ago

titusfortner commented 3 months ago

Feature and motivation

At the Selenium Dev Summit we agreed to keep the Chrome DevTools implementation in Selenium 5, but to mark everything as deprecated and ask for users to send us feature requests if what they are doing is not yet possible with WebDriver BiDi implementation.

Not sure how we ask for this feedback. Maybe a Google form or perhaps a specific issue template?

Usage example

n/a

iampopovich commented 3 months ago

@titusfortner Do I understand correctly that in pull requests for this ticket, we need to mark, for example, the HasCdp class in Java or the execute_cdp_cmd method in Python as deprecated? If I understood the task description correctly, can I open pull requests for these changes?

titusfortner commented 3 months ago

@iampopovich I think we want to have the BiDi functionality implemented before we mark CDP deprecated, this issue is just something we want to make sure happens before Selenium 5.

pujagani commented 3 months ago

https://github.com/SeleniumHQ/selenium/issues?q=is%3Aopen+is%3Aissue+milestone%3A%22Selenium+5.0%22+label%3AC-devtools - All the issues here will be needed to be closed first (implemented, tested, documented) before we can mark CDP as deprecated.