0

I have a question - did Python + Selenium give the opportunity to verify size and coordinates on the web-page?

I mean I have a mockup in Figma with the size of the element and his coordinates. And I want to know can I verify these values by Python + Selenium on the Web Page?

Maybe we can't use Figma, but maybe you can verify coordinates in the browser, and then write them in the test-cases?

Lamanus
  • 12,898
  • 4
  • 21
  • 47
  • Please read why a [screenshot of HTML or code or error is a bad idea](https://meta.stackoverflow.com/questions/303812/discourage-screenshots-of-code-and-or-errors). Consider updating the Question with formatted text based relevant HTML, code trials and error stack trace. – undetected Selenium Aug 24 '20 at 12:12
  • I hope you will find this helpfull https://stackoverflow.com/questions/15510882/selenium-get-coordinates-or-dimensions-of-element-with-python – rahul rai Aug 24 '20 at 12:48
  • rahul rai - I don't need to know coordinates. I need to verify coordinates in Python code with coordinates on Web, so they should be exact same – YaNeGabar Aug 24 '20 at 13:16

0 Answers0