Awesome
____ ___
/\ _`\ /\_ \ __
\ \,\L\_\ __\//\ \ __ ___ /\_\ __ __ ___ ___
\/_\__ \ /'__`\\ \ \ /'__`\/' _ `\/\ \/\ \/\ \ /' __` __`\
/\ \L\ \/\ __/ \_\ \_/\ __//\ \/\ \ \ \ \ \_\ \/\ \/\ \/\ \
\ `\____\ \____\/\____\ \____\ \_\ \_\ \_\ \____/\ \_\ \_\ \_\
\/_____/\/____/\/____/\/____/\/_/\/_/\/_/\/___/ \/_/\/_/\/_/
Selenium Environment on Windows, Linux and Mac
Install
git clone https://github.com/bogdananton/Selenium-Setup.git
cd Selenium-Setup
- Download composer.phar
- Run
php composer.phar install
Listing commands
php bin/selenium-setup.php list
Selenium Setup version 4.0.0
Usage:
command [options] [arguments]
Available commands:
help Displays help for a command
list Lists commands
register Register a SeleniumSetup server instance.
servers List registered Selenium Servers.
start Start Selenium Server setup with all supported drivers attached to it.
stop Stop Selenium Server.
Running (default instance)
php bin/selenium-setup.php start
Usage:
start [options] [--] [<name>]
Arguments:
name The instance name. [default: "defaultServer"]
Registering instances
php bin/selenium-setup.php register secondInstance 4445
Usage:
register [options] [--] <name> <port>
Arguments:
name Instance name.
port Instance port.
Stopping an instance
php bin/selenium-setup.php stop secondInstance
Usage:
stop [<name>]
Arguments:
name The name of the server. [default: "defaultServer"]
System Requirements
- Java JRE/JDK (1.6+)
- PHP (5.3+) with curl and open_ssl
- Browser: Chrome, Firefox, IE (only on Windows)
Environment components:
Demo