-
-
Notifications
You must be signed in to change notification settings - Fork 8.6k
Closed
Labels
A-needs-triagingA Selenium member will evaluate this soon!A Selenium member will evaluate this soon!I-defectSomething is not working as intendedSomething is not working as intended
Description
What happened?
org.openqa.selenium.devtools.CdpVersionFinder findNearestMatch
WARNING: Unable to find an exact match for CDP version 129, returning the closest version; found: 128; Please update to a Selenium version that supports CDP version 129
After upgrading Chrome to Version 129.0.6668.59 (Official Build) (64-bit),
and Chrome Driver to 129.0.6668.58
This warning appears. Selenium upgrade which supports version 129 might be needed.
How can we reproduce the issue?
In JAVA program,
with build.gradle.kts
implementation("org.seleniumhq.selenium:selenium-java:4.24.0")
========================================================
JAVA code.
ChromeOptions chromeOptions = new ChromeOptions();
chromeOptions.addArguments("--headless=new", "--disable-web-security", "--allow-running-insecure-content", "--blink-settings=imagesEnabled=false", "--user-agent=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36", "--disable-software-rasterizer", "--disable-blink-features", "--window-size=1200,730", "--disable-gpu", "--disable-notifications", "--disable-extensions", "--ignore-certificate-errors", "--remote-allow-origins=*", "--no-sandbox", "--disable-dev-shm-usage", "--port=" + curPort);
chromeOptions.setPageLoadStrategy(PageLoadStrategy.EAGER);
chromeOptions.setAcceptInsecureCerts(true);
chromeOptions.setUnhandledPromptBehaviour(UnexpectedAlertBehaviour.DISMISS_AND_NOTIFY);
WebDriver driver = new ChromeDriver(chromeOptions());
driver.get("https://www.youtube.com/watch?v=OUlCf8WlUVg");
List<WebElement> elements = chromeDriver.findElements(By.cssSelector("title, meta[name='title'], meta[name='og:title'], h1, h2"));Relevant log output
9μ 21, 2024 9:03:49 μ€μ org.openqa.selenium.devtools.CdpVersionFinder findNearestMatch
WARNING: Unable to find an exact match for CDP version 129, returning the closest version; found: 128; Please update to a Selenium version that supports CDP version 129Operating System
Windows 11 Home
Selenium version
4.24.0
What are the browser(s) and version(s) where you see this issue?
129.0.6668.59 (Official Build) (64-bit)
What are the browser driver(s) and version(s) where you see this issue?
129.0.6668.58
Are you using Selenium Grid?
No
Metadata
Metadata
Assignees
Labels
A-needs-triagingA Selenium member will evaluate this soon!A Selenium member will evaluate this soon!I-defectSomething is not working as intendedSomething is not working as intended