playwright/packages/playwright-test/types
Andrey Lushnikov 68e170ef89
feat: implement expect(locator).toBeInViewport() (#20668)
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 d950f5b6ee and
adds `ratio` option support + does the rename.

Fixes #8740
2023-02-10 04:33:22 -08:00
..
component.d.ts chore(ct): improve internal hook types (#20722) 2023-02-09 08:58:15 -08:00
test.d.ts feat: implement expect(locator).toBeInViewport() (#20668) 2023-02-10 04:33:22 -08:00
testReporter.d.ts chore(docs): beautify generated types, put options always last (#20805) 2023-02-09 20:46:33 -08:00