This is documentation for the next version of Grafana k6 documentation. For the latest stable release, go to the latest version.
focus(selector[, options])
Warning
Use locator-based
locator.focus([options])instead.
This method fetches an element with selector and focuses it.


