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]: Requests for MicrosoftEdge create wrong browser #10410
Comments
@andrewnicols, 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, W3C),
add the applicable
After troubleshooting the issue, please add the Thank you! |
When using Selenium 4, do not pass in The code above nests Relevant portion of log:
|
Thanks for triaging, @titusfortner! |
So this is a bug in selenium 4 then?
…On Fri, 11 Mar 2022 at 21:29, Diego Molina ***@***.***> wrote:
Thanks for triaging, @titusfortner <https://github.com/titusfortner>!
I will reopen this to have this on the bug list, and fix it on the Grid.
—
Reply to this email directly, view it on GitHub
<#10410 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAC2K7ZJ2MDZAOP3U2X3PTTU7NDEFANCNFSM5P4K46TA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
I'm not a 100% sure. I need to check the commit history to understand why this behavior exists. |
The root cause of this particular issue is that you sent an invalid structure with how you nested capabilities. Selenium should error when this happens rather than defaulting to "use anything." To an extent I don't care since the Selenium libraries can't make this mistake. On the other hand, maybe there are other errors that Selenium library users will experience based on the bug here, so probably worth our looking at it. |
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?
When trying to create new session for Edge with some parameters, I get different sessions. This seems to mostly be either Firefox or Safari, depending on what parameters are passed in. Sometimes I get Edge, but it really seems to vary. I may get Edge five times in a row, but then only Firefox or only Safari.
How can we reproduce the issue?
Relevant log output
wrongbrowser.log
Operating System
macOS Monterey 12.2.1
Selenium version
4.1.2
What are the browser(s) and version(s) where you see this issue?
Edge 98.0.1108.62
What are the browser driver(s) and version(s) where you see this issue?
edgedriver 98.0.1108.62
Are you using Selenium Grid?
No
The text was updated successfully, but these errors were encountered: