Closed
Description
What happened?
After update chrome and chromedriver to version 110.
In Chrome browser, I have set options as:
options.addArguments("--headless=new");
options.addArguments("--window-size=1920,1080");
but when I debug it the window-size: 1036x780
is shown as default.
Could you please help to check this issue? Thank you!
How can we reproduce the issue?
options.addArguments("--headless=new");
options.addArguments("--window-size=1920,1080");
Relevant log output
15:24:52 Starting ChromeDriver 110.0.5481.77 (65ed616c6e8ee3fe0ad64fe83796c020644d42af-refs/branch-heads/5481@{#839}) on port 52244
15:24:52 Only local connections are allowed.
15:24:52 Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.
15:24:52 ChromeDriver was started successfully.
15:24:56 [1677227096.364][WARNING]: virtual void DevToolsClientImpl::AddListener(DevToolsEventListener *) subscribing a listener to the already connected DevToolsClient. Connection notification will not arrive.
15:24:56 Feb 24, 2023 8:24:56 AM org.openqa.selenium.remote.ProtocolHandshake createSession
15:24:56 INFO: Detected dialect: W3C
15:24:56 Feb 24, 2023 8:24:56 AM org.openqa.selenium.devtools.CdpVersionFinder findNearestMatch
15:24:56 WARNING: Unable to find an exact match for CDP version 110, so returning the closest version found: a no-op implementation
15:24:56 Feb 24, 2023 8:24:56 AM org.openqa.selenium.devtools.CdpVersionFinder findNearestMatch
15:24:56 INFO: Unable to find CDP implementation matching 110.
15:24:56 Feb 24, 2023 8:24:56 AM org.openqa.selenium.chromium.ChromiumDriver lambda$new$3
15:24:56 WARNING: Unable to find version of CDP to use for . You may need to include a dependency on a specific version of the CDP using something similar to `org.seleniumhq.selenium:selenium-devtools-v86:4.1.2` where the version ("v86") matches the version of the chromium-based browser you're using and the version number of the artifact is the same as Selenium's.
15:24:58 2023-02-24-08:24:58 INFO DEBUG: CREATED DRIVER SUCCESSFULLY with COUNT 2 and Map Size 1
15:24:58 2023-02-24-08:24:58 INFO Width x Height is 1036x780
Operating System
Windows 10
Selenium version
4.1.2
What are the browser(s) and version(s) where you see this issue?
110
What are the browser driver(s) and version(s) where you see this issue?
ChromeDriver 110.0.5481.77
Are you using Selenium Grid?
No