dotnet-client icon indicating copy to clipboard operation
dotnet-client copied to clipboard

[Feat]: CDP!

Open DongMongppp opened this issue 2 years ago • 4 comments

Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like A clear and concise description of what you want to happen.

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Additional context Add any other context or screenshots about the feature request here.

Will APPIUM support the CDP function supported by Selenium?

DongMongppp avatar Nov 16 '23 18:11 DongMongppp

@jlipps @mykola-mokhnach, is this a client thing or more related to server side? Anayway I don't see a point putting the effort into it while selenium already mentioned they are favoring the BiDi protocol https://w3c.github.io/webdriver-bidi/ You can also read more about it here https://www.selenium.dev/documentation/webdriver/bidirectional/

Dor-bl avatar Nov 16 '23 21:11 Dor-bl

cdp endpoint for HTTP request, I think this dotnet also should work. https://github.com/search?q=repo%3ASeleniumHQ%2Fselenium+executeCdp+language%3AC%23&type=code&l=C%23 it sends a cdp command, and appium proxies the request to the chromedriver.

Other driver does not support the cdp endpoint.

In terms of over websocket stuff, possibly https://github.com/appium/appium/pull/19404 ? But I'm not sure if C# in selenium has the functionality to speak websocket.

https://github.com/mykola-mokhnach/appium-devtools-plugin may also be helpful if you're interested in attaching to devtools protocol.

KazuCocoa avatar Nov 18 '23 00:11 KazuCocoa

@DongMongppp did you tried https://github.com/mykola-mokhnach/appium-devtools-plugin?

Dor-bl avatar Jan 20 '24 08:01 Dor-bl

@DongMongppp, Let us know if the above is what you were looking for before I close this issue.

Dor-bl avatar Mar 22 '24 12:03 Dor-bl

Closed due to no response.

Dor-bl avatar May 04 '24 18:05 Dor-bl