(selector: string)
| 98 | } |
| 99 | |
| 100 | async function count(selector: string): Promise<number> { |
| 101 | return (await page.$$(selector)).length |
| 102 | } |
| 103 | |
| 104 | async function text(selector: string): Promise<string | null> { |
| 105 | return page.$eval(selector, node => node.textContent) |
no outgoing calls
no test coverage detected