Xceptance / neodymium-library

A test automation library based on common other best practice open source libraries. It adds missing functionalities but does not reinvent the wheel. Just glues stuff together nicely and adds some sprinkles.
MIT License
80 stars 11 forks source link

Investigate to large values for Neodymium.getViewPortSize() for Firefox #255

Open georgkunze opened 5 months ago

georgkunze commented 5 months ago

When calling the method Neodymium.getViewPortSize() the values returned for Firefox actually exceed the actual displayed viewport. This matters so far as some of the image processing methods we use for Screenshots are reliant on correct values for the size of the viewport. The reason the underlying javascript commands return incorrect values is unknown an need to be investigated.

Note: for Chrome and Edge the returned values appear to be correct.

georgkunze commented 1 month ago

This seems to be a known issue for the geckodriver. Found this for headless mode. https://github.com/mozilla/geckodriver/issues/1744