Skip to content

Anteris-Dev/selenium-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Selenium Server for PHP

Check & fix styling

This package provides you with a Selenium server ready to run on Linux, Mac OS, or Windows.

To Install

composer require anteris-dev/selenium-server

Next you will want to install a Selenium driver.

# To install Gecko Driver
./vendor/bin/selenium install:gecko

# To install Chrome Driver
./vendor/bin/selenium install:chrome

# To install both
./vendor/bin/selenium install

To Run the Server

./vendor/bin/selenium serve

To modify the driver used, pass the --driver method to the command. Supported drivers are listed below.

  • Gecko (Firefox)
  • Chrome (Chromium)
# Start a Firefox instance
./vendor/bin/selenium serve --driver gecko

# Start a Chromium instance
./vendor/bin/selenium serve --driver chrome