playwright/packages/protocol/src
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
..
callMetadata.ts chore: move protocol and trace types into the top-level packages (#17486) 2022-09-20 18:41:51 -07:00
channels.ts feat: implement expect(locator).toBeInViewport() (#20668) 2023-02-10 04:33:22 -08:00
protocol.yml feat: implement expect(locator).toBeInViewport() (#20668) 2023-02-10 04:33:22 -08:00