Menu

This is documentation for the next version of Grafana k6 documentation. For the latest stable release, go to the latest version.

Open source

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.

MethodDescription
locator(selector[, options])Returns a new chained locator for the given selector within the frame.