Unable to find a matching set of capabilities

764 views
Skip to first unread message

Putri Matondang

unread,
May 17, 2018, 4:56:41 AM5/17/18
to robotframework-users
Any body help me to solve this error ?

I use
FF : Version 60.0
Python 2.7.15
selenium2library) (3.12.0)
err.PNG

Hélio Guilherme

unread,
May 17, 2018, 6:22:42 AM5/17/18
to robotframework-users
Uninstall Selenium2Library, Install SeleniumLibrary, adjust tests to use "Library     SeleniumLibrary", download latest "geckodriver" and put it in a place listed in %PATH% environment variable.

--
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.



--
My Favorite Open Source Projects
awsome-lists gretl meld robotframework wxPython

Ed Manlove

unread,
May 19, 2018, 10:13:33 PM5/19/18
to robotframe...@googlegroups.com

In instance like this I use the following debug/python code within the python interpreter


from selenium import webdriver
from selenium.webdriver.firefox.options import Options

options = Options()
options.log.level = 'trace'
options.set_headless()
selenium = webdriver.Firefox(firefox_options=options, log_path='./ffox.log')


So here is what it would look like from the Windows command prompt, prompt and everything


D:\Projects\FFDebug>python
Python 3.6.4 (v3.6.4:d48eceb, Dec 19 2017, 06:04:45) [MSC v.1900 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> from selenium import webdriver
>>> from selenium.webdriver.firefox.options import Options
>>>
>>> options = Options()
>>> options.log.level = 'trace'
>>> selenium = webdriver.Firefox(firefox_options=options, log_path='./ffox.log')
>>>
>>> exit()

D:\Projects\FFDebug>dir
 Volume in drive D is OS
 Volume Serial Number is AB27-6DCB

 Directory of D:\Projects\FFDebug

05/19/2018  10:02 PM    <DIR>          .
05/19/2018  10:02 PM    <DIR>          ..
05/19/2018  10:02 PM                 0 ffox.log
               1 File(s)              0 bytes
               3 Dir(s)  111,111,111,111 bytes free

D:\Projects\FFDebug>

In this case there was nothing to log. But you should see something if there is an error.

Ed
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-u...@googlegroups.com.
To post to this group, send email to robotframe...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages