webdriver google chrome code example
Example 1: selenium chromedriver
Supports Chrome version 89
Resolved issue 3667: Timed out receiving a message from rendererResolved issue 3675: GetElementLocation uses inView method which mishandles boolean as arrayResolved issue 3682: GetElementRegion returns incorrect size for elements which are partially out of viewportResolved issue 3690: ChromeDriver fails if extensions use chrome.windows API
Example 2: chrome web driver
/**
* Create the RemoteWebDriver instance.
*
* @return \Facebook\WebDriver\Remote\RemoteWebDriver
*/
protected function driver()
{
return RemoteWebDriver::create(
'http://localhost:9515', DesiredCapabilities::chrome()
);
}