Skip to content

Commit 0f92434

Browse files
inancgumusschalksnyman
authored andcommitted
Async frame.parentFrame
1 parent 9cc41c2 commit 0f92434

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)