Unable to find a matching set of capabilities

1,490 views
Skip to first unread message

Luiz Fernando Estivalet

unread,
Feb 21, 2018, 8:22:06 AM2/21/18
to robotframe...@googlegroups.com
My firefox is not opening. I got the error:

SessionNotCreatedException: Message: Unable to find a matching set of capabilities


${firefox_path}= Evaluate sys.modules['selenium.webdriver'].firefox.firefox_binary.FirefoxBinary(firefox_path='C:/Users/lestivalet/apps/FirefoxPortable/firefox.exe', log_file=None) sys
${caps}= Evaluate sys.modules['selenium.webdriver'].common.desired_capabilities.DesiredCapabilities.FIREFOX sys
Set To Dictionary ${caps} marionette=${True}
Create WebDriver Firefox firefox_binary=${firefox_path} capabilities=${caps}
Go To www.google.com

S.O.              Firefox 58/Windows 7
python            2.7.14
RF                3.0.2
SeleniumLibrary   3.1.0
geckodriver 0.19.1

What I am doing wrong?

Tatu Aalto

unread,
Feb 21, 2018, 9:37:32 AM2/21/18
to luiz.es...@trt4.jus.br, robotframework-users
Ugh

Would you be able to run the test with "--loglevel trace" set from the command line and send the full stack trace. Also seeing what your variables actually contain would be useful tool.

-Tatu
Send from my mobile


On 21 Feb 2018 15:22, "Luiz Fernando Estivalet" <luiz.es...@trt4.jus.br> wrote:
My firefox is not opening. I got the error:

SessionNotCreatedException: Message: Unable to find a matching set of capabilities

Open Browser ${HOST} ${BROWSER}

S.O.              Firefox 58/Windows 7
python            2.7.14
RF                3.0.2
SeleniumLibrary   3.1.0
geckodriver 0.19.1

What I am doing wrong?

--
You received this message because you are subscribed to the Google Groups "robotframework-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-users+unsub...@googlegroups.com.
To post to this group, send email to robotframework-users@googlegroups.com.
Visit this group at https://groups.google.com/group/robotframework-users.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages