mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00

The method accepts a `ratio` option to assert the ratio of the element in viewport. `ratio` defaults to `Number.MIN_VALUE`. NOTE: this reverts commit d950f5b6ee3fee4b825831983d5af5b197bda769 and adds `ratio` option support + does the rename. Fixes #8740