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

SessionNotCreatedException: Message: session not created: No matching capabilities found #47

Closed
sharmapawan123 opened this issue Sep 14, 2022 · 6 comments
Labels
bug Something isn't working

Comments

@sharmapawan123
Copy link

I have created this script for launching the Edge browser in python
but it gives me this error.
" SessionNotCreatedException: Message: session not created: No matching capabilities found"

driver = webdriver.Edge(executable_path=r"/opt/selenium/msedgedriver")

@bterlson @codepo8 @MattKotsenas @dstorey @captainbrosset @

@sharmapawan123 sharmapawan123 added the bug Something isn't working label Sep 14, 2022
@bwalderman
Copy link
Member

Can you please share the following information:

  • Selenium version
  • OS version
  • Edge and msedgedriver versions

@sharmapawan123
Copy link
Author

Selenium Version 4.0.0a6
OS =ubuntu:18.04
Edge and msedgedriver versions =105.0.1343.27

Can you please share the following information:

  • Selenium version
  • OS version
  • Edge and msedgedriver versions

@bwalderman
Copy link
Member

Selenium 4 alpha 6 didn't yet support Edge Chromium by default. You would need to create an Options object with use_chromium set to True. This is no longer necessary in the latest stable Selenium release. Can you try updating? The latest release is 4.4.3: https://pypi.org/project/selenium/

@sharmapawan123
Copy link
Author

yes so with this version i am not able to build my docker file
it gives me this error:-

#11 10.16 ERROR: Could not find a version that satisfies the requirement selenium==4.4.3 (from versions: 4.0.0a6.macosx-10.15-x86_64, 0.9.2, 1.0.1, 1.0.3, 2.0.dev0, 2.0.dev1, 2.0.dev2, 2.0.dev3, 2.0.dev4, 2.0.dev5, 2.0.dev6, 2.0.dev9138, 2.0.dev9212, 2.0.dev9231, 2.0.dev9284, 2.0.dev9306, 2.0.dev9307, 2.0.dev9310, 2.0.dev9338, 2.0.dev9340, 2.0.dev9341, 2.0.dev9429, 2.0a5, 2.0b2, 2.0b3.dev0, 2.0b3, 2.0b4.dev0, 2.0rc1, 2.0rc2, 2.0rc3, 2.0.0, 2.0.1, 2.1.0, 2.2.0, 2.3.0, 2.4.0, 2.5.0, 2.6.0, 2.7.0, 2.8.0, 2.8.1, 2.9.0, 2.10.0, 2.11.0, 2.11.1, 2.12.0, 2.12.1, 2.13.0, 2.13.1, 2.14.0, 2.15.0, 2.16.0, 2.17.0, 2.18.0, 2.18.1, 2.19.0, 2.19.1, 2.20.0, 2.21.0, 2.21.1, 2.21.2, 2.21.3, 2.22.0, 2.22.1, 2.23.0, 2.24.0, 2.25.0, 2.26.0, 2.27.0, 2.28.0, 2.29.0, 2.30.0, 2.31.0, 2.32.0, 2.33.0, 2.34.0, 2.35.0, 2.36.0, 2.37.0, 2.37.1, 2.37.2, 2.38.0, 2.38.1, 2.38.2, 2.38.3, 2.38.4, 2.39.0, 2.40.0, 2.41.0, 2.42.0, 2.42.1, 2.43.0, 2.44.0, 2.45.0, 2.46.0, 2.46.1, 2.47.0, 2.47.1, 2.47.2, 2.47.3, 2.48.0, 2.49.0, 2.49.1, 2.49.2, 2.50.0, 2.50.1, 2.51.0, 2.51.1, 2.52.0, 2.53.0, 2.53.1, 2.53.2, 2.53.3, 2.53.4, 2.53.5, 2.53.6, 3.0.0b1, 3.0.0b2, 3.0.0b3, 3.0.0, 3.0.1, 3.0.2, 3.3.0, 3.3.1, 3.3.2, 3.3.3, 3.4.0, 3.4.1, 3.4.2, 3.4.3, 3.5.0, 3.6.0, 3.7.0, 3.8.0, 3.8.1, 3.9.0, 3.10.0, 3.11.0, 3.12.0, 3.13.0, 3.14.0, 3.14.1, 3.141.0, 4.0.0a1, 4.0.0a3, 4.0.0a5, 4.0.0a6, 4.0.0a6.post1, 4.0.0a6.post2, 4.0.0a7)
#11 10.17 ERROR: No matching distribution found for selenium==4.4.3

@bwalderman
Copy link
Member

The latest available version on that list is 4.0.0a7 which is an outdated alpha release. Is your pip pointed to a private repository? If so, I'd recommended contacting whoever manages that repository and ensuring that the latest Selenium releases are available.

@bwalderman
Copy link
Member

Closing since this appears to be an external issue. Feel free to open a new issue if you are still running into problems running Edge after upgrading Selenium.

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

2 participants