Skip to content

Calling cdp.set_window_rect(x, y, width, height) from a minimized window may set incorrect coordinates #3260

@mdmintz

Description

@mdmintz

Calling cdp.set_window_rect(x, y, width, height) from a minimized window may set incorrect coordinates


When that happens, the x, y coordinates get ignored, and the window gets placed at 0, 0.

This may be the real reason for the incorrect coordinates seen in #3259. In order to bring the browser window to the front on Windows, the browser window must be minimized and unminimized. But that places the window at a different position, so the x, y CAPTCHA coordinates calculated earlier are no longer valid.

Metadata

Metadata

Assignees

Labels

UC Mode / CDP ModeUndetected Chromedriver Mode / CDP ModebugUh oh... Something needs to be fixed

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions