class DriverService (View source)

Start local WebDriver service (when remote WebDriver server is not used).

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.

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