29
29
- [ class: ChromiumBrowser] ( #class-chromiumbrowser )
30
30
- [ class: ChromiumBrowserContext] ( #class-chromiumbrowsercontext )
31
31
- [ class: ChromiumCoverage] ( #class-chromiumcoverage )
32
- - [ class: ChromiumSession ] ( #class-chromiumsession )
32
+ - [ class: CDPSession ] ( #class-cdpsession )
33
33
- [ class: FirefoxBrowser] ( #class-firefoxbrowser )
34
34
- [ class: WebKitBrowser] ( #class-webkitbrowser )
35
35
- [ Environment Variables] ( #environment-variables )
@@ -3742,7 +3742,7 @@ await browser.stopTracing();
3742
3742
<!-- GEN:stop -->
3743
3743
3744
3744
#### chromiumBrowser.newBrowserCDPSession()
3745
- - returns: <[ Promise] <[ ChromiumSession ] >> Promise that resolves to the newly created browser
3745
+ - returns: <[ Promise] <[ CDPSession ] >> Promise that resolves to the newly created browser
3746
3746
session.
3747
3747
3748
3748
#### chromiumBrowser.startTracing([ page, options] )
@@ -3815,7 +3815,7 @@ Emitted when new service worker is created in the context.
3815
3815
3816
3816
#### chromiumBrowserContext.newCDPSession(page)
3817
3817
- ` page ` <[ Page] > Page to create new session for.
3818
- - returns: <[ Promise] <[ ChromiumSession ] >> Promise that resolves to the newly created session.
3818
+ - returns: <[ Promise] <[ CDPSession ] >> Promise that resolves to the newly created session.
3819
3819
3820
3820
### class: ChromiumCoverage
3821
3821
@@ -3882,11 +3882,11 @@ const v8toIstanbul = require('v8-to-istanbul');
3882
3882
> ** NOTE** JavaScript Coverage doesn't include anonymous scripts by default. However, scripts with sourceURLs are
3883
3883
reported.
3884
3884
3885
- ### class: ChromiumSession
3885
+ ### class: CDPSession
3886
3886
3887
3887
* extends: [ EventEmitter] ( https://nodejs.org/api/events.html#events_class_eventemitter )
3888
3888
3889
- The ` ChromiumSession ` instances are used to talk raw Chrome Devtools Protocol:
3889
+ The ` CDPSession ` instances are used to talk raw Chrome Devtools Protocol:
3890
3890
- protocol methods can be called with ` session.send ` method.
3891
3891
- protocol events can be subscribed to with ` session.on ` method.
3892
3892
@@ -3906,17 +3906,17 @@ await client.send('Animation.setPlaybackRate', {
3906
3906
```
3907
3907
3908
3908
<!-- GEN:toc -->
3909
- - [ chromiumSession .detach()] ( #chromiumsessiondetach )
3910
- - [ chromiumSession .send(method[ , params] )] ( #chromiumsessionsendmethod -params )
3909
+ - [ cdpSession .detach()] ( #cdpsessiondetach )
3910
+ - [ cdpSession .send(method[ , params] )] ( #cdpsessionsendmethod -params )
3911
3911
<!-- GEN:stop -->
3912
3912
3913
- #### chromiumSession .detach()
3913
+ #### cdpSession .detach()
3914
3914
- returns: <[ Promise] >
3915
3915
3916
- Detaches the chromiumSession from the target. Once detached, the chromiumSession object won't emit any events and can't be used
3916
+ Detaches the CDPSession from the target. Once detached, the CDPSession object won't emit any events and can't be used
3917
3917
to send messages.
3918
3918
3919
- #### chromiumSession .send(method[ , params] )
3919
+ #### cdpSession .send(method[ , params] )
3920
3920
- ` method ` <[ string] > protocol method name
3921
3921
- ` params ` <[ Object] > Optional method parameters
3922
3922
- returns: <[ Promise] <[ Object] >>
@@ -4040,7 +4040,7 @@ const { chromium } = require('playwright');
4040
4040
[ ChromiumBrowser ] : #class-chromiumbrowser " ChromiumBrowser "
4041
4041
[ ChromiumBrowserContext ] : #class-chromiumbrowsercontext " ChromiumBrowserContext "
4042
4042
[ ChromiumCoverage ] : #class-chromiumcoverage " ChromiumCoverage "
4043
- [ ChromiumSession ] : #class-chromiumsession " ChromiumSession "
4043
+ [ CDPSession ] : #class-cdpsession " CDPSession "
4044
4044
[ ConsoleMessage ] : #class-consolemessage " ConsoleMessage "
4045
4045
[ Dialog ] : #class-dialog " Dialog "
4046
4046
[ ElementHandle ] : #class-elementhandle " ElementHandle "
0 commit comments