Skip to content

prateeknayak/Selenium-Setup

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

 ____            ___
/\  _`\         /\_ \                  __
\ \,\L\_\     __\//\ \      __    ___ /\_\  __  __    ___ ___
 \/_\__ \   /'__`\\ \ \   /'__`\/' _ `\/\ \/\ \/\ \ /' __` __`\
   /\ \L\ \/\  __/ \_\ \_/\  __//\ \/\ \ \ \ \ \_\ \/\ \/\ \/\ \
   \ `\____\ \____\/\____\ \____\ \_\ \_\ \_\ \____/\ \_\ \_\ \_\
    \/_____/\/____/\/____/\/____/\/_/\/_/\/_/\/___/  \/_/\/_/\/_/
    Selenium Environment on Windows, Linux and Mac

Build Status Build Status PHP 5.4

Install

  1. git clone https://github.com/bogdananton/Selenium-Setup.git
  2. cd Selenium-Setup
  3. Download composer.phar
  4. Run php composer.phar install

Listing commands

  1. 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)

  1. php bin/selenium-setup.php start
Usage:
  start [options] [--] [<name>]

Arguments:
  name                   The instance name. [default: "defaultServer"]

Registering instances

  1. php bin/selenium-setup.php register secondInstance 4445
Usage:
  register [options] [--] <name> <port>

Arguments:
  name                   Instance name.
  port                   Instance port.

Stopping an instance

  1. 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

asciicast

About

Start your own Selenium test server with Chrome, Firefox and Internet Explorer drivers.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%