class ChromeDevToolsDriver (View source)

Provide access to Chrome DevTools Protocol (CDP) commands via HTTP endpoint of Chromedriver.

Constants

SEND_COMMAND

Methods

__construct(RemoteWebDriver $driver)

No description

array
execute(string $command, array $parameters = [])

Executes a Chrome DevTools command

Details

__construct(RemoteWebDriver $driver)

No description

Parameters

RemoteWebDriver $driver

array execute(string $command, array $parameters = [])

Executes a Chrome DevTools command

Parameters

string $command

The DevTools command to execute

array $parameters

Optional parameters to the command

Return Value

array

The result of the command