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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[馃悰 Bug]:Open browser doesn't work with Edge + Selenium==4.1.0('Options' object has no attribute 'use_chromium') but OK with Edge + selenium==4.0.0.rc2 #10184

Closed
ghost opened this issue Dec 25, 2021 · 4 comments

Comments

@ghost
Copy link

ghost commented Dec 25, 2021

What happened?

Hello, after upgrading Selenium to 4.1.0, when I launch a simple test case RobotFramework on Edge(Version 96.0.1054.62)

I have this error: 'Options' object has no attribute 'use_chromium' and no browser is open but it works well with selenium==4.0.0.rc2

Is this an evolution ?

Fail with packages:
Python 3.9.4, robotframework==4.1.3, robotframework-seleniumlibrary==5.1.3, selenium==4.1.0

Pass with packages:
Python 3.9.4, robotframework==4.1.3, robotframework-seleniumlibrary==5.1.3, selenium==4.0.0.rc2

How can we reproduce the issue?

SeleniumLibrary.Open Browser   ${url}    edge    options=use_chromium=True

Relevant log output

FAIL AttributeError: 'Options' object has no attribute 'use_chromium'

Operating System

Windows 10

Selenium version

selenium==4.1.0

What are the browser(s) and version(s) where you see this issue?

Edge Version 96.0.1054.62

What are the browser driver(s) and version(s) where you see this issue?

MSEdgeDriver 96.0.1054.62

Are you using Selenium Grid?

No response

@github-actions
Copy link

@jgdevrennes, thank you for creating this issue. We will troubleshoot it as soon as we can.


Info for maintainers

Triage this issue by using labels.

If information is missing, add a helpful comment and then I-issue-template label.

If the issue is a question, add the I-question label.

If the issue is valid but there is no time to troubleshoot it, consider adding the help wanted label.

If the issue requires changes or fixes from an external project (e.g., ChromeDriver, GeckoDriver, W3C), add the applicable G-* label, and it will provide the correct link and auto-close the issue.

After troubleshooting the issue, please add the R-awaiting answer label.

Thank you!

@titusfortner
Copy link
Member

We have removed support for EdgeHTML from Selenium 4, so all references to Edge are for Chromium Edge, so there is no need to have a method to toggle it. Perhaps the Robot library needs to be updated to reflect this?

@ghost
Copy link
Author

ghost commented Dec 26, 2021

Yes, it's ok without args "options=use_chromium=True" with Selenium==4.1.0.
I found this #9921
Thank's

@github-actions
Copy link

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.

@github-actions github-actions bot locked and limited conversation to collaborators Jan 26, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant