This is documentation for the next version of Grafana k6 documentation. For the latest stable release, go to the latest version.
FrameLocator
FrameLocator represents a way to find element(s) in an iframe
. Frames can be nested, and this locator supports selecting a frame element and then working with it.
A FrameLocator can be created with the locator.contentFrame()
method.
Method | Description |
---|---|
locator(selector[, options]) | Returns a new chained locator for the given selector within the frame. |