Skip to content
Discussion options

You must be logged in to vote

Hi, you need to set up the capability to configure the browser, it is done very similarly as in other languages.

Have look at readme: https://github.com/php-webdriver/php-webdriver#3-customize-desired-capabilities

So you will need to create browser like this:

$capabilities = DesiredCapabilities::chrome();
$capabilities->setCapability('pageLoadStrategy', 'eager');

$driver = RemoteWebDriver::create($host, $capabilities);
...

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by OndraM
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants