How to run a selenium test on bitrse?

selenium
#1

I need to run a selenium test on bitrse.I have two files,one is class file and other Java file on my repo.

0 Likes

Selenium intregation
#2

Hi @saurav_91,

Thanks for asking this here! :wink:

How do you run it locally, on your Mac/PC?

In general you can install & use any tool you would in your Terminal/Command line - related docs: http://devcenter.bitrise.io/tips-and-tricks/install-additional-tools/

0 Likes

#3

no,on ubuntu 16.04

0 Likes

#4

Please consult the Selenium docs / forums to figure out how you can run it locally.

Once you can run it locally in your Terminal/Command Line it’s simple to set it up on bitrise (e.g. by using a Script / following the docs http://devcenter.bitrise.io/tips-and-tricks/install-additional-tools/), and of course we’re happy to help. But first you have to be able to run it locally, in your Terminal / Command Line.

0 Likes

#5

I am now able to run the selenium test using docker image selenium.standalone-chrome.I have ran a sample ruby selenium test successfully.

https://www.screencast.com/t/eWdjWmjB

1 Like

#6

I’m really glad to hear that @saurav.bora!

If you have some time, can you please share a link or some tips here? It’d definitely help others in the future :wink:

0 Likes

#7

I need to know how to run slenium test on bitrise

0 Likes

#8

Hy, well you will need to install a headless chrome instance on the VM and run the test as if you would do locally, just make sure it runs in the background and you pipe the output in a file. :upside_down_face:

0 Likes