Reputation: 1
We are using robot framework for automation testing in our project. We were using Firefox version 47, gecko driver version 0.16.0 and selenium 3.14 and were able to run all the tests successfully.
Recently, IT team decided to upgrade Firefox to 60.3.0 and now automation is failing with error as:
SessionNotCreatedException: Message: Unable to find a matching set of capabilities.
Tried using geckodriver versions 0.21, 0.22, 0.24 but in vain. Receiving same error.
Any help or insights would be appreciated.
Upvotes: 0
Views: 152
Reputation: 193088
This error message...
SessionNotCreatedException: Message: Unable to find a matching set of capabilities.
...implies that the GeckoDriver was unable to initiate/spawn a new WebBrowser i.e. Firefox Browser session.
Your main issue is the incompatibility between the version of the binaries you are using.
It is not clear from your question which combination of Selenium, GeckoDriver and Firefox combination produced the mentioned error. However as per best practices always follow the GeckoDriver, Selenium and Firefox Browser compatibility chart below:
Upvotes: 1