Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mention the need to have suitable browser driver in installation instructions #7

Open
cscottrun opened this issue Apr 10, 2019 · 9 comments

Comments

@cscottrun
Copy link

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.

@pekkaklarck pekkaklarck changed the title GeckoDriver Mention the need to have suitable browser driver in installation instructions Apr 10, 2019
@pekkaklarck
Copy link
Member

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
Copy link
Member

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

@aaltat
Copy link
Contributor

aaltat commented Apr 11, 2019

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?

@pekkaklarck
Copy link
Member

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.

@jabelk
Copy link

jabelk commented May 31, 2019

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

@usmanhafeez
Copy link

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

@chanita
Copy link
Contributor

chanita commented Jul 13, 2019

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

@Spaceless007
Copy link

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

@lblanch
Copy link

lblanch commented Feb 2, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants