Skip to content

[🐛 Bug]: vertical size not matching #14509

@ludodul

Description

@ludodul

What happened?

Hello,
I need to take some screenshots from a document, so I resize the screen size then take a screenshot.
The problem is that the vertical size is lower than the size I asked for.
If I ask for 900x300, I only have 884 x 153 screen size.
I did not have this problem some weeks or months ago.

How can we reproduce the issue?

driver.Manage().Window.Size = new System.Drawing.Size(900, 300);
 Screenshot ss = ((ITakesScreenshot)driver).GetScreenshot();

Relevant log output

no logs

Operating System

Wibdows 10

Selenium version

c# 4.24

What are the browser(s) and version(s) where you see this issue?

chrome 128

What are the browser driver(s) and version(s) where you see this issue?

ChromeDriver 128.0.6613.13700

Are you using Selenium Grid?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    I-defectSomething is not working as intendedI-questionApplied to questions. Issues should be closed and send the user to community resources.J-issue-templateApplied to issues not following the template, or missing information.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions