-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
[🐛 Bug]: Opera Browser in Selenium 4 Usage #10835
Comments
@alaahong, thank you for creating this issue. We will troubleshoot it as soon as we can. Info for maintainersTriage this issue by using labels.
If information is missing, add a helpful comment and then
If the issue is a question, add the
If the issue is valid but there is no time to troubleshoot it, consider adding the
If the issue requires changes or fixes from an external project (e.g., ChromeDriver, GeckoDriver, MSEdgeDriver, W3C),
add the applicable
After troubleshooting the issue, please add the Thank you! |
@rkrupski as you point the w3c usage on OperaDriver on another post, so do you have any comment on why OperaDriver doesn't set W3C as true by default? |
and to what extent is it departing from chromedriver in other ways? We could figure out a fix for
Which means something in Opera or chromedriver changed in the past 6 months. 😞 Ruby bindings haven't directly supported Opera for the past 6+ years, and Sauce Labs has never supported it, without (much) complaint. I'm not sure how much energy to put into this one unless we can work together on a fix. Especially as we start pushing more toward async / BiDi solutions in Selenium. |
Update Opera Sample by SeleniumHQ/selenium#10835
Update Opera Sample by SeleniumHQ/selenium#10835 33edfd4
Found a solution unexpectedly by comparing java and dotnet implementation and documentation on selenium.dev.
Hope this would help to somebody else =) I'm working now on integration of these actions into the Aquality.Selenium nuget package, you can check out our solution - we have cross-browser support with easy json configuration. Template project is located here: https://github.com/aquality-automation/aquality-selenium-dotnet-template |
Opera is "officially" no longer supported in Selenium because there is not a compatible driver for it. The chromedriver now requires things that Opera does not support and operadriver does not appear to be updated with latest w3c support. If and when this changes, we can revisit support for it in Selenium. |
There is clearly a bug in C# Selenium version with unability to set the "w3c" option, but Selenium devs decided to close the issue... That's sad, but no suprises. |
@mialeska, It's a feature not a bug. The problem is that Opera does not support the functionality that Selenium currently requires. We've reached out to Opera devs multiple times and have not gotten any response. If you need Opera, you can use an older version of Selenium, because Opera can't make use of the recent features, anyway. |
@mialeska we are also interested in collaborating, have a look at https://twitter.com/SeleniumHQ/status/1540332236746145798 |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
What happened?
2 points.
[java] Add deprecated warnings to OperaDriver and OperaOptions
But as below code, Opera support W3C by additional option, so do we still need remove Opera in Selenium?
JWP -->
W3C
reference:
operasoftware/operachromiumdriver#96 (comment)
operasoftware/operachromiumdriver#100 (comment)
As doc mentioned, it expect to work under ChromeOptions
https://www.selenium.dev/documentation/webdriver/getting_started/open_browser/#opera
But throw exception on my side
But chromeOptions with deprecated OperaDriver is fine, (it still need work with opera driver)
So, any solution if user want to work with Opera by Selenium 4?
How can we reproduce the issue?
Relevant log output
Operating System
Windows 11
Selenium version
4.3.0
What are the browser(s) and version(s) where you see this issue?
Opera 88 (based on Chrome 102)
What are the browser driver(s) and version(s) where you see this issue?
OperaDriver 102, ChromeDriver 102
Are you using Selenium Grid?
No
The text was updated successfully, but these errors were encountered: