(selector: string)
| 482 | } |
| 483 | |
| 484 | hasElementByCssSelector(selector: string) { |
| 485 | return this.eval<boolean>(`!!document.querySelector('${selector}')`) |
| 486 | } |
| 487 | |
| 488 | keydown(key: string) { |
| 489 | return this.startOrPreserveChain(() => page.keyboard.down(key)) |