WebDemo icon indicating copy to clipboard operation
WebDemo copied to clipboard

Mention the need to have suitable browser driver in installation instructions

Open cscottrun opened this issue 6 years ago • 9 comments

I had to install geckodriver in order to pass the test. It took me a while to figure that out. Being that this tutorial is for new users, that might be a helpful note to put in the readme.

cscottrun avatar Apr 10 '19 21:04 cscottrun

Good point. That ought to be mentioned in SeleniumLibrary installation instructions that are linked from README, but it would nevertheless be a good idea to mention browser drivers there explicitly.

pekkaklarck avatar Apr 10 '19 21:04 pekkaklarck

Somewhat related to this, installation instructions should be changed not to use requirements.txt. See my comments to that here: https://github.com/robotframework/WebDemo/pull/6#issuecomment-478339713

pekkaklarck avatar Apr 10 '19 21:04 pekkaklarck

The SelenumLibrary README has browser driver section, which explains installation of the browser drivers. Should we link to the documentation or copy/paste documentation here?

aaltat avatar Apr 11 '19 10:04 aaltat

Definitely no copy-pasting, better to have more detailed explanation elsewhere. Just a note that browser specific browser driver is needed with a link to SL documentation ought to be enough.

pekkaklarck avatar Apr 11 '19 10:04 pekkaklarck

ran into the same issue for me. using brew install geckodriver for OS X fixed the browser driver issue.

jabelk avatar May 31 '19 17:05 jabelk

i cannot find where are locators saved for username_field, and password_field. can you please tell.

usmanhafeez avatar Jun 27 '19 10:06 usmanhafeez

i cannot find where are locators saved for username_field, and password_field. can you please tell.

https://github.com/robotframework/WebDemo/blob/master/demoapp/html/index.html

chanita avatar Jul 13 '19 01:07 chanita

This still hasnt been fixed... Pls fix it for future users

Spaceless007 avatar Aug 11 '20 19:08 Spaceless007

I ran into the same issue (missing geckodriver). For those using MacPorts, it seems their distribution of the geckodriver doesn't work in a Apple M1 architecture at the moment. I fixed it by downloading the latest driver package from the official github (https://github.com/mozilla/geckodriver/releases), which does support M1, extracting it and moving it to a folder included in my path, like '/usr/local/bin'

Somewhat related to this, installation instructions should be changed not to use requirements.txt. See my comments to that here: #6 (comment)

Great idea! In my case, this would have helped as it would have forced me to follow the Selenium installation instructions from their webpage. When I saw the option of using 'requirements.txt' to install everything, the Selenium docs were skipped.

Edit: to clarify, this was my first time using Python, Robot Framework or Selenium.

lblanch avatar Feb 02 '22 13:02 lblanch