You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**Description:** Type text using keyboard into a previously focused input
125
+
126
+
**Parameters:**
127
+
128
+
-**text** (string) **(required)**: The text to type
129
+
-**submitKey** (string) _(optional)_: Optional key to press after typing. E.g., "Enter", "Tab", "Escape"
130
+
131
+
---
132
+
120
133
### `upload_file`
121
134
122
135
**Description:** Upload a file through a provided element.
@@ -172,6 +185,7 @@
172
185
173
186
-**url** (string) **(required)**: URL to load in a new page.
174
187
-**background** (boolean) _(optional)_: Whether to open the page in the background without bringing it to the front. Default is false (foreground).
188
+
-**isolatedContext** (string) _(optional)_: If specified, the page is created in an isolated browser context with the given name. Pages in the same browser context share cookies and storage. Pages in different browser contexts are fully isolated.
175
189
-**timeout** (integer) _(optional)_: Maximum wait time in milliseconds. If set to 0, the default timeout will be used.
176
190
177
191
---
@@ -193,7 +207,7 @@
193
207
194
208
**Parameters:**
195
209
196
-
-**text** (string) **(required)**: Text to appear on the page
210
+
-**text** (array) **(required)**: Non-empty list of texts. Resolves when any value appears on the page.
197
211
-**timeout** (integer) _(optional)_: Maximum wait time in milliseconds. If set to 0, the default timeout will be used.
198
212
199
213
---
@@ -261,6 +275,16 @@
261
275
262
276
---
263
277
278
+
### `take_memory_snapshot`
279
+
280
+
**Description:** Capture a memory heapsnapshot of the currently selected page to memory leak debugging
281
+
282
+
**Parameters:**
283
+
284
+
-**filePath** (string) **(required)**: A path to a .heapsnapshot file to save the heapsnapshot to.
0 commit comments