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?
#!/bin/bash
WDURL="http://localhost:4444/wd/hub";
CAPABILITIES='{"capabilities":{"firstMatch":[{"browserName":"MicrosoftEdge","ms:edgeChromium":true}]},"desiredCapabilities":{"tags":["mandarin.per.nicols.uk","PHP 7.4.28"],"browserName":"MicrosoftEdge","ms:edgeChromium":true,"browser":"edge","ignoreZoomSetting":false,"name":"Behat feature suite"}}'
RESPONSE=`curl -s -H 'Content-Type: application/json; charset=utf-8' -d "${CAPABILITIES}" "${WDURL}/session"`
SESSIONID=`echo "${RESPONSE}" | python3 -c "import sys, json; print(json.load(sys.stdin)['value']['sessionId'])"`
echo $RESPONSE
echo "Deleting window:"
curl -X DELETE "${WDURL}/session/${SESSIONID}"
echo
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
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