Finding the coordinates of the browser alerts

Hi Team,

I have a query specific to browser user prompts - alert, confirm and
prompt. Section - https://w3c.github.io/webdriver/#user-prompts

Query: As the height of the user prompt is set dynamically w.r.t. the
description length, I need to find out the dimension and origin points of
the prompts. How can I get the origin points (x, y) and dimension(width and
height) of such user prompts?

Please take a look at the attached file.


With regards,

Rajapriya R.

Received on Monday, 30 May 2022 11:37:42 UTC