ebaymopa.blogg.se

Install selenium ubuntu
Install selenium ubuntu













Note that in the Chrome test you have to specify the path to your In the “Build Steps” section, add an entry for the Chrome test and for theįirefox test. I have my tests stored in a folder named tests in the repo.

install selenium ubuntu

Then select “New Job” and then select “Build a free-style software project”įill in your SCM provider, assuming you have one so the workspace can be filled. In Jenkins global configuration add the environment variable that specifies the These commands should now work without any errors and show you the results in Java -jar =/var/lib/chrome-driver/chromedriver /var/lib/selenium/selenium-server.jar -htmlSuite *googlechrome "/path/to/your/tests/Suite.html" "/tmp/chrome-results.html" Java -jar /var/lib/selenium/selenium-server.jar -htmlSuite *firefox "/path/to/your/tests/Suite.html" "/tmp/firefox-results.html" # For chrome we also need to specify the Chrome driver location.:

install selenium ubuntu

# Let's see if Selenium works for firefox:

install selenium ubuntu

# Now we have to set the DISPLAY env variable so Firefox and Chrome know where to open the browser. # First lets start xvfb sudo /etc/init.d/xvfb start















Install selenium ubuntu