bogdananton / selenium-setup
4.0.0
2015-12-22 17:45 UTC
Requires
- php: ^5.4
- guzzlehttp/guzzle: 5.3.*
- symfony/console: ^2.7
- symfony/event-dispatcher: ^2.7
- symfony/process: ^2.7
This package is not auto-updated.
Last update: 2024-10-26 19:26:53 UTC
README
____ ___
/\ _`\ /\_ \ __
\ \,\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:
- Composer
- Selenium Standalone server
- Facebook PHP WebDriver
- WebDrivers
- You need to have Chrome, Firefox or IE installed.