Frame represents a single frame in a browser window. It can be a top-level frame or an iframe. Frames are used to organize content in a browser window. Frames can be nested, and each frame has its own document and window objects.
Method
Description
frame$(selector)
Finds an element matching the specified selector within the frame.
frame$$(selector)
Finds all elements matching the specified selector within the frame.
check(selector[, options])
Select the input checkbox.
childFrames()
Returns an array of child frames.
click(selector[, options])
Clicks on an element matching a selector.
content()
Gets the HTML contents of the frame.
dblclick(selector[, options])
Double click on an element matching the provided selector.
Additional helpful documentation, links, and articles:
60 min
Performance testing and observability in Grafana Cloud
Optimize user experiences with Grafana Cloud. Learn real-time insights, performance testing with k6, and continuous validation with Synthetic Monitoring.
60 min
User-centered observability: load testing, real user monitoring, and synthetics
Learn how to use load testing, synthetic monitoring, and real user monitoring (RUM) to understand end users' experience of your apps. Watch on demand.