bogdananton/selenium-setup
Composer 安装命令:
composer require bogdananton/selenium-setup
包简介
README 文档
README
____ ___
/\ _`\ /\_ \ __
\ \,\L\_\ __\//\ \ __ ___ /\_\ __ __ ___ ___
\/_\__ \ /'__`\\ \ \ /'__`\/' _ `\/\ \/\ \/\ \ /' __` __`\
/\ \L\ \/\ __/ \_\ \_/\ __//\ \/\ \ \ \ \ \_\ \/\ \/\ \/\ \
\ `\____\ \____\/\____\ \____\ \_\ \_\ \_\ \____/\ \_\ \_\ \_\
\/_____/\/____/\/____/\/____/\/_/\/_/\/_/\/___/ \/_/\/_/\/_/
Selenium Environment on Windows, Linux and Mac
Install
git clone https://github.com/bogdananton/Selenium-Setup.gitcd 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.
Demo
统计信息
- 总下载量: 25
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 27
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-12-07