Go down
Posts : 1
Join date : 2016-03-22

Open Browser Keyword of Selenium2Library (robotframework) is giving: is not a supported browser.

on Tue Mar 22, 2016 11:02 pm
I'm new in robotframework and I had wrote a keyword that should simply open a url in firfox:

${fireFox_browser}    firefox
${ff_profile}           C:\\Users\\admin\\AppData\\Roaming\\Mozilla\\Firefox\\Profiles\\oz942dui.default

Open Browser  ${hola_url}  ${fireFox_browser} ff_profile_dir=${ff_profile}            
  Set Browser Implicit Wait 10 seconds
  Delete All Cookies
  Maximize Browser Window
  Input Text ${url}  
  Click Element    css=path.svg-icon-shackle

But when running it am getting:
| FAIL |
ValueError: firefox ff_profile_dir=C:\Python27\Lib\site-packages\Selenium2Library\resources\firefoxprofile is not a supported

Please advise what am missing!

Back to top
Permissions in this forum:
You cannot reply to topics in this forum