-
-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Could not open connection: session not created: This version of ChromeDriver only supports Chrome version 121 #333
Comments
@kedarkhaire |
WebDriver\Exception\ElementNotInteractable: element not interactable Thanks! |
@kedarkhaire |
Hi @nanasess |
@kedarkhaire <?php
require 'vendor/autoload.php';
use Facebook\WebDriver\Remote\RemoteWebDriver;
use Facebook\WebDriver\Remote\DesiredCapabilities;
use Facebook\WebDriver\WebDriverBy;
use Facebook\WebDriver\WebDriverExpectedCondition;
use Facebook\WebDriver\WebDriverKeys;
$timeout = 30000;
$host = 'http://localhost:4444/wd/hub'; // URL of the Selenium server
$driver = RemoteWebDriver::create($host, DesiredCapabilities::chrome());
try {
$driver->get('https://google.com');
$driver->wait($timeout / 1000)->until(
WebDriverExpectedCondition::titleContains('Google')
);
echo $driver->getTitle() . "\n";
$searchBox = $driver->findElement(WebDriverBy::name('q'));
$searchBox->sendKeys('ChromeDriver' . WebDriverKeys::RETURN);
$driver->wait($timeout / 1000)->until(
WebDriverExpectedCondition::titleContains('ChromeDriver')
);
echo $driver->getTitle() . "\n";
} finally {
$driver->quit();
} |
I will need to modify it, but thanks for the help, I will check. |
@kedarkhaire |
Not the same, just SessionNotCreatedError: session not created: is same, in our case the chromedriver version is not supported & in the link mentioned above the some file is missing. |
nanasess/setup-chromedriver@v2 is used for Drupal PHPUnit tests
Currently facing issue with the following error message
The original message while starting Mink: Could not open connection: session not created: This version of ChromeDriver only supports Chrome version 121
Current browser version is 127.0.6533.89 with binary path /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
(Driver info: chromedriver=121.0.6167.85
The test wasn't able to connect to your webdriver instance.
Can we please look into this issue
Drupal 10.3 used
PHP 8.2 & 8.3
The text was updated successfully, but these errors were encountered: