* {{> focus }} *
(locator)
| 2318 | * |
| 2319 | */ |
| 2320 | async focus(locator) { |
| 2321 | const els = await this._locate(locator) |
| 2322 | assertElementExists(els, locator, 'Element to focus') |
| 2323 | const el = usingFirstElement(els) |
| 2324 | |
| 2325 | await focusElement(el, this.browser) |
| 2326 | } |
| 2327 | |
| 2328 | /** |
| 2329 | * {{> blur }} |
nothing calls this directly
no test coverage detected