* {{> focus }} *
(locator, options = {})
| 1528 | * |
| 1529 | */ |
| 1530 | async focus(locator, options = {}) { |
| 1531 | const el = await this._locateElement(locator) |
| 1532 | assertElementExists(el, locator, 'Element to focus') |
| 1533 | |
| 1534 | await el.focus(options) |
| 1535 | return this._waitForAction() |
| 1536 | } |
| 1537 | |
| 1538 | /** |
| 1539 | * {{> blur }} |
nothing calls this directly
no test coverage detected