We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9cc41c2 commit 0f92434Copy full SHA for 0f92434
docs/sources/next/javascript-api/k6-browser/frame/parentframe.md
@@ -0,0 +1,16 @@
1
+---
2
+title: 'parentFrame()'
3
+description: 'Browser module: frame.parentFrame() method'
4
5
+
6
+# parentFrame()
7
8
+This method returns the parent [Frame](https://grafana.com/docs/k6/<K6_VERSION>/javascript-api/k6-browser/frame/) object of the current frame.
9
10
+<TableWithNestedRows>
11
12
+### Returns
13
14
+| Type | Description |
15
+| --------------- | ---------------------------------------------------------------------------------------- |
16
+| `Frame \| null` | The parent frame object of the frame. Or `null` if the frame has no parent (main frame). |
0 commit comments