Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/edmondscommerce/selenium-server

selenium-server
https://github.com/edmondscommerce/selenium-server

bash behat chrome composer firefox linux php selenium selenium-server shell

Last synced: about 2 months ago
JSON representation

selenium-server

Awesome Lists containing this project

README

        

# selenium-server
## By [Edmonds Commerce](https://www.edmondscommerce.co.uk)

This is a simple package to easily run Selenium with Chrome driver.

It does not contain the binaries, instead it will download them on first run.

It has only been run and tested on Linux.

To install it simply add

`"edmondscommerce/selenium-server": "~1"`

To your composer.json file and then run composer update

## Running

`bin/selenium-run.bash` To run Selenium in a terminal. You can stop the Selenium process as required by hitting [ctrl]+[c]

## Running in the background

`bin/selenium-background-run.bash`

This will run the process in the background using nohup

## Stopping the background process

`bin/selenium-stop.bash`

This will find a Selenium process that is running in the background and kill it

## Firefox / Chrome

This process uses Chrome by default.

If you want to use it with Firefox, you need to append the `firefox` flag, eg

`bin/selenium-run.bash firefox`

Or

`bin/selenium-background-run.bash firefox`