b349c91e7d
* fix: make `$` and `$$` selectors generic This means, much like TS's in built `querySelector` type, you can now do: ```ts const listItems = page.$$<HTMLLIElement>('ul li'); ``` And/or: ```ts const h2 = page.$<HTMLHeadingElement>('h2'); ``` And the return value will be of type `ElementHandle<T>|null`, where `T` is the type you provided. By default `T` is an `Element`, so you don't have to provide this if you don't care as a consumer about the exact type you get back. * chore: fix test assertions |
||
---|---|---|
.. | ||
ensure-correct-devtools-protocol-package.ts | ||
test-install.sh | ||
test-ts-definition-files.ts | ||
tsconfig.json |