(selector: string)
| 102 | } |
| 103 | |
| 104 | async function text(selector: string): Promise<string | null> { |
| 105 | return page.$eval(selector, node => node.textContent) |
| 106 | } |
| 107 | |
| 108 | async function value(selector: string): Promise<string> { |
| 109 | return page.$eval(selector, node => (node as HTMLInputElement).value) |
no test coverage detected