class ChromeDriverService extends DriverService (View source)

Constants

deprecated CHROME_DRIVER_EXE_PROPERTY

The environment variable storing the path to the chrome driver executable.

CHROME_DRIVER_EXECUTABLE

Methods

__construct(string $executable, int $port, array $args = [], array|null $environment = null)

No description

string
getURL()

No description

start()

No description

stop()

No description

bool
isRunning()

No description

static string
checkExecutable(string $executable)

Check if the executable is executable.

createDefaultService()

No description

Details

__construct(string $executable, int $port, array $args = [], array|null $environment = null)

No description

Parameters

string $executable
int $port

The given port the service should use.

array $args
array|null $environment

Use the system environment if it is null

string getURL()

No description

Return Value

string

DriverService start()

No description

Return Value

DriverService

DriverService stop()

No description

Return Value

DriverService

bool isRunning()

No description

Return Value

bool

static protected string checkExecutable(string $executable)

Check if the executable is executable.

Parameters

string $executable

Return Value

string

Exceptions

Exception

static ChromeDriverService createDefaultService()

No description

Return Value

ChromeDriverService