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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Edge webdriver failed: KeyError: 'MicrosoftEdge' #138

Open
wancy2024 opened this issue Mar 1, 2024 · 0 comments
Open

Edge webdriver failed: KeyError: 'MicrosoftEdge' #138

wancy2024 opened this issue Mar 1, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@wancy2024
Copy link

I have updated my edge browser to version 120.0.2210.61 and updated edge webdriver to 120.0.2210.133. When i run my automated robot framework test case and i got this error :

20240115 05:24:00.585 : INFO : ${Selenium2Library} = <Selenium2Library.Selenium2Library object at 0x00000163B2B7F550>
20240115 05:24:00.585 : INFO : ${Selenium2LibraryCapabilities} = {'acceptInsecureCerts': False, 'browserName': 'MicrosoftEdge', 'browserVersion': '120.0.2210.61', 'fedcm:accounts': True, 'ms:edgeOptions': {'debuggerAddress': 'localhost:64718'}, 'msedge': {'msedgedr...
20240115 05:24:00.601 : INFO : ${BROWSERtype} = MicrosoftEdge
20240115 05:24:00.601 : INFO : ${BROWSERversion} = 120.0.2210.61
20240115 05:24:00.601 : FAIL : Resolving variable '${Selenium2LibraryCapabilities['MicrosoftEdge']}' failed: KeyError: 'MicrosoftEdge'

I have no issue when using Edge browser 115.0.1901.200 with edge webdriver 115.0.1901.200. After this version upgrade, i got this issue.

Same issue happened when tried on Edge browser version 121 as shown at below :

"20240301 07:08:24.589 : INFO : ${Selenium2LibraryCapabilities} = {'acceptInsecureCerts': False, 'browserName': 'MicrosoftEdge', 'browserVersion': '121.0.2277.112', 'fedcm:accounts': True, 'ms:edgeOptions': {'debuggerAddress': 'localhost:63422'}, 'msedge': {'msedged...
20240301 07:08:24.589 : INFO : ${BROWSERtype} = MicrosoftEdge
20240301 07:08:24.589 : INFO : ${BROWSERversion} = 121.0.2277.112
FAIL : Resolving variable '${Selenium2LibraryCapabilities['MicrosoftEdge']}' failed: KeyError: 'MicrosoftEdge'

Can please help to advice what is wrong at here?
Thanks in advance.

Here are the version i am using for the following :
robot framework 6.0.2
robotframework-ride 2.0b3
robotframework-selenium2library 3.0.0
robotframework-seleniumlibrary 6.0.0
selenium 4.9.0

@wancy2024 wancy2024 added the bug Something isn't working label Mar 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant