References #19607.
locator.viewportRatio()
This package contains the no-browser flavor of Playwright.