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
This section contains the APIs related to browsing context commands.
11
12
12
-
## Open a new window
13
+
###Open a new window
13
14
14
15
Creates a new browsing context in a new window.
15
16
@@ -30,7 +31,7 @@ Creates a new browsing context in a new window.
30
31
{{< /tab >}}
31
32
{{< /tabpane >}}
32
33
33
-
## Open a new tab
34
+
###Open a new tab
34
35
35
36
Creates a new browsing context in a new tab.
36
37
@@ -51,7 +52,7 @@ Creates a new browsing context in a new tab.
51
52
{{< /tab >}}
52
53
{{< /tabpane >}}
53
54
54
-
## Use existing window handle
55
+
###Use existing window handle
55
56
56
57
Creates a browsing context for the existing tab/window to run commands.
57
58
@@ -73,7 +74,7 @@ Creates a browsing context for the existing tab/window to run commands.
73
74
{{< /tabpane >}}
74
75
75
76
76
-
## Open a window with a reference browsing context
77
+
###Open a window with a reference browsing context
77
78
A reference browsing context is a [top-level browsing context](https://html.spec.whatwg.org/multipage/document-sequences.html#top-level-browsing-context).
78
79
The API allows to pass the reference browsing context, which is used to create a new window. The implementation is operating system specific.
79
80
@@ -94,7 +95,7 @@ The API allows to pass the reference browsing context, which is used to create a
94
95
{{< /tab >}}
95
96
{{< /tabpane >}}
96
97
97
-
## Open a tab with a reference browsing context
98
+
###Open a tab with a reference browsing context
98
99
A reference browsing context is a [top-level browsing context](https://html.spec.whatwg.org/multipage/document-sequences.html#top-level-browsing-context).
99
100
The API allows to pass the reference browsing context, which is used to create a new tab. The implementation is operating system specific.
100
101
@@ -115,7 +116,7 @@ The API allows to pass the reference browsing context, which is used to create a
115
116
{{< /tab >}}
116
117
{{< /tabpane >}}
117
118
118
-
## Navigate to a URL
119
+
###Navigate to a URL
119
120
120
121
{{< tabpane text=true >}}
121
122
{{< tab header="Java" >}}
@@ -134,7 +135,7 @@ The API allows to pass the reference browsing context, which is used to create a
134
135
{{< /tab >}}
135
136
{{< /tabpane >}}
136
137
137
-
## Navigate to a URL with readiness state
138
+
###Navigate to a URL with readiness state
138
139
139
140
{{< tabpane text=true >}}
140
141
{{< tab header="Java" >}}
@@ -153,7 +154,7 @@ The API allows to pass the reference browsing context, which is used to create a
153
154
{{< /tab >}}
154
155
{{< /tabpane >}}
155
156
156
-
## Get browsing context tree
157
+
###Get browsing context tree
157
158
158
159
Provides a tree of all browsing contexts descending from the parent browsing context, including the parent browsing context.
159
160
@@ -174,7 +175,7 @@ Provides a tree of all browsing contexts descending from the parent browsing con
174
175
{{< /tab >}}
175
176
{{< /tabpane >}}
176
177
177
-
## Get browsing context tree with depth
178
+
###Get browsing context tree with depth
178
179
179
180
Provides a tree of all browsing contexts descending from the parent browsing context, including the parent browsing context upto the depth value passed.
180
181
@@ -195,7 +196,7 @@ Provides a tree of all browsing contexts descending from the parent browsing con
195
196
{{< /tab >}}
196
197
{{< /tabpane >}}
197
198
198
-
## Get All Top level browsing contexts
199
+
###Get All Top level browsing contexts
199
200
200
201
{{< tabpane text=true >}}
201
202
{{< tab header="Java" >}}
@@ -214,7 +215,7 @@ Provides a tree of all browsing contexts descending from the parent browsing con
214
215
{{< /tab >}}
215
216
{{< /tabpane >}}
216
217
217
-
## Close a tab/window
218
+
###Close a tab/window
218
219
219
220
{{< tabpane text=true >}}
220
221
{{< tab header="Java" >}}
@@ -233,7 +234,7 @@ Provides a tree of all browsing contexts descending from the parent browsing con
233
234
{{< /tab >}}
234
235
{{< /tabpane >}}
235
236
236
-
## Activate a browsing context
237
+
###Activate a browsing context
237
238
238
239
{{< tabpane text=true >}}
239
240
{{< tab header="Java" >}}
@@ -253,7 +254,7 @@ Provides a tree of all browsing contexts descending from the parent browsing con
253
254
{{< /tabpane >}}
254
255
255
256
256
-
## Reload a browsing context
257
+
###Reload a browsing context
257
258
258
259
{{< tabpane text=true >}}
259
260
{{< tab header="Java" >}}
@@ -272,7 +273,7 @@ Provides a tree of all browsing contexts descending from the parent browsing con
272
273
{{< /tab >}}
273
274
{{< /tabpane >}}
274
275
275
-
## Handle user prompt
276
+
###Handle user prompt
276
277
277
278
{{< tabpane text=true >}}
278
279
{{< tab header="Java" >}}
@@ -291,7 +292,7 @@ Provides a tree of all browsing contexts descending from the parent browsing con
291
292
{{< /tab >}}
292
293
{{< /tabpane >}}
293
294
294
-
## Capture Screenshot
295
+
###Capture Screenshot
295
296
296
297
{{< tabpane text=true >}}
297
298
{{< tab header="Java" >}}
@@ -310,7 +311,7 @@ Provides a tree of all browsing contexts descending from the parent browsing con
310
311
{{< /tab >}}
311
312
{{< /tabpane >}}
312
313
313
-
## Capture Viewport Screenshot
314
+
###Capture Viewport Screenshot
314
315
315
316
{{< tabpane text=true >}}
316
317
{{< tab header="Java" >}}
@@ -329,7 +330,7 @@ Provides a tree of all browsing contexts descending from the parent browsing con
329
330
{{< /tab >}}
330
331
{{< /tabpane >}}
331
332
332
-
## Capture Element Screenshot
333
+
###Capture Element Screenshot
333
334
334
335
{{< tabpane text=true >}}
335
336
{{< tab header="Java" >}}
@@ -348,7 +349,7 @@ Provides a tree of all browsing contexts descending from the parent browsing con
348
349
{{< /tab >}}
349
350
{{< /tabpane >}}
350
351
351
-
## Set Viewport
352
+
###Set Viewport
352
353
353
354
{{< tabpane text=true >}}
354
355
{{< tab header="Java" >}}
@@ -368,7 +369,7 @@ Provides a tree of all browsing contexts descending from the parent browsing con
368
369
{{< /tabpane >}}
369
370
370
371
371
-
## Print page
372
+
###Print page
372
373
373
374
{{< tabpane text=true >}}
374
375
{{< tab header="Java" >}}
@@ -387,7 +388,7 @@ Provides a tree of all browsing contexts descending from the parent browsing con
387
388
{{< /tab >}}
388
389
{{< /tabpane >}}
389
390
390
-
## Navigate back
391
+
###Navigate back
391
392
392
393
{{< tabpane text=true >}}
393
394
{{< tab header="Java" >}}
@@ -406,7 +407,7 @@ Provides a tree of all browsing contexts descending from the parent browsing con
406
407
{{< /tab >}}
407
408
{{< /tabpane >}}
408
409
409
-
## Navigate forward
410
+
###Navigate forward
410
411
411
412
{{< tabpane text=true >}}
412
413
{{< tab header="Java" >}}
@@ -425,7 +426,7 @@ Provides a tree of all browsing contexts descending from the parent browsing con
425
426
{{< /tab >}}
426
427
{{< /tabpane >}}
427
428
428
-
## Traverse history
429
+
###Traverse history
429
430
430
431
{{< tabpane text=true >}}
431
432
{{< tab header="Java" >}}
@@ -442,4 +443,156 @@ Provides a tree of all browsing contexts descending from the parent browsing con
442
443
{{< tab header="Kotlin" >}}
443
444
{{< badge-code >}}
444
445
{{< /tab >}}
445
-
{{< /tabpane >}}
446
+
{{< /tabpane >}}
447
+
448
+
## Events
449
+
This section contains the APIs related to browsing context events.
0 commit comments