question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add method to get web element coordinates

See original GitHub issue

I’d like to see something like element.getLocation() <{x: nubmer, y: number}> to use coordinates for mouse move actions.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

3reactions
acharjeeauntorcommented, Feb 7, 2022

Seems the above link (https://playwright.dev/#version=v1.6.2&path=docs%2Fapi.md&q=elementhandleboundingbox) is not available now. Team, Please update the link that will be very much helpful for us.

0reactions
shaikkkkkcommented, Nov 10, 2022
Read more comments on GitHub >

github_iconTop Results From Across the Web

Finding Web Elements XY Coordinates Using Selenium
How to find Web Elements X Y Coordinates using Selenium WebDriver - We use Point class to get the X and Y Coordinates...
Read more >
Get Position/Coordinates of Web Element - Selenium Java
To get the position or coordinates of a web element using Selenium in Java, call getLocation() on the Web Element object.
Read more >
How to get the x, y coordinates of an element in a web page?
I am using JavascriptExecutor command. My question is how will I get to know the exact x and y coordinates of that specific...
Read more >
How to Click on WebElement & Current Location in Selenium
Open a URL of the Google home page. 3. Locate the element “Gmail” on the home page using By.xpath. 4. Find the location...
Read more >
Get the coordinates and size of a web element - Microsoft Learn
Additionally, you can retrieve the coordinates specifying the center of a web element using the waelementcentercoords attribute in the Get ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found