(selector: string, opts?: ElementByCssOpts)
| 428 | } |
| 429 | |
| 430 | elementByCss(selector: string, opts?: ElementByCssOpts) { |
| 431 | return this.waitForElementByCss(selector, { |
| 432 | timeout: 5_000, |
| 433 | ...opts, |
| 434 | }) |
| 435 | } |
| 436 | |
| 437 | /** A replacement for the default `browser.elementByCss` that doesn't wait for the page to fire "load". */ |
| 438 | elementByCssInstant(selector: string, opts?: ElementByCssOpts) { |