28
28
- [ class: ChromiumBrowser] ( #class-chromiumbrowser )
29
29
- [ class: ChromiumBrowserContext] ( #class-chromiumbrowsercontext )
30
30
- [ class: ChromiumCoverage] ( #class-chromiumcoverage )
31
- - [ class: ChromiumSession ] ( #class-chromiumsession )
31
+ - [ class: CDPSession ] ( #class-cdpsession )
32
32
- [ class: FirefoxBrowser] ( #class-firefoxbrowser )
33
33
- [ class: WebKitBrowser] ( #class-webkitbrowser )
34
34
- [ Environment Variables] ( #environment-variables )
@@ -3735,7 +3735,7 @@ await browser.stopTracing();
3735
3735
<!-- GEN:stop -->
3736
3736
3737
3737
#### chromiumBrowser.newBrowserCDPSession()
3738
- - returns: <[ Promise] <[ ChromiumSession ] >> Promise that resolves to the newly created browser
3738
+ - returns: <[ Promise] <[ CDPSession ] >> Promise that resolves to the newly created browser
3739
3739
session.
3740
3740
3741
3741
#### chromiumBrowser.startTracing([ page, options] )
@@ -3808,7 +3808,7 @@ Emitted when new service worker is created in the context.
3808
3808
3809
3809
#### chromiumBrowserContext.newCDPSession(page)
3810
3810
- ` page ` <[ Page] > Page to create new session for.
3811
- - returns: <[ Promise] <[ ChromiumSession ] >> Promise that resolves to the newly created session.
3811
+ - returns: <[ Promise] <[ CDPSession ] >> Promise that resolves to the newly created session.
3812
3812
3813
3813
### class: ChromiumCoverage
3814
3814
@@ -3875,11 +3875,11 @@ const v8toIstanbul = require('v8-to-istanbul');
3875
3875
> ** NOTE** JavaScript Coverage doesn't include anonymous scripts by default. However, scripts with sourceURLs are
3876
3876
reported.
3877
3877
3878
- ### class: ChromiumSession
3878
+ ### class: CDPSession
3879
3879
3880
3880
* extends: [ EventEmitter] ( https://nodejs.org/api/events.html#events_class_eventemitter )
3881
3881
3882
- The ` ChromiumSession ` instances are used to talk raw Chrome Devtools Protocol:
3882
+ The ` CDPSession ` instances are used to talk raw Chrome Devtools Protocol:
3883
3883
- protocol methods can be called with ` session.send ` method.
3884
3884
- protocol events can be subscribed to with ` session.on ` method.
3885
3885
@@ -3899,17 +3899,17 @@ await client.send('Animation.setPlaybackRate', {
3899
3899
```
3900
3900
3901
3901
<!-- GEN:toc -->
3902
- - [ chromiumSession .detach()] ( #chromiumsessiondetach )
3903
- - [ chromiumSession .send(method[ , params] )] ( #chromiumsessionsendmethod -params )
3902
+ - [ cdpSession .detach()] ( #cdpsessiondetach )
3903
+ - [ cdpSession .send(method[ , params] )] ( #cdpsessionsendmethod -params )
3904
3904
<!-- GEN:stop -->
3905
3905
3906
- #### chromiumSession .detach()
3906
+ #### cdpSession .detach()
3907
3907
- returns: <[ Promise] >
3908
3908
3909
- Detaches the chromiumSession from the target. Once detached, the chromiumSession object won't emit any events and can't be used
3909
+ Detaches the CDPSession from the target. Once detached, the CDPSession object won't emit any events and can't be used
3910
3910
to send messages.
3911
3911
3912
- #### chromiumSession .send(method[ , params] )
3912
+ #### cdpSession .send(method[ , params] )
3913
3913
- ` method ` <[ string] > protocol method name
3914
3914
- ` params ` <[ Object] > Optional method parameters
3915
3915
- returns: <[ Promise] <[ Object] >>
@@ -4034,7 +4034,7 @@ const { chromium } = require('playwright');
4034
4034
[ ChromiumBrowser ] : #class-chromiumbrowser " ChromiumBrowser "
4035
4035
[ ChromiumBrowserContext ] : #class-chromiumbrowsercontext " ChromiumBrowserContext "
4036
4036
[ ChromiumCoverage ] : #class-chromiumcoverage " ChromiumCoverage "
4037
- [ ChromiumSession ] : #class-chromiumsession " ChromiumSession "
4037
+ [ CDPSession ] : #class-CDPSession " CDPSession "
4038
4038
[ ConsoleMessage ] : #class-consolemessage " ConsoleMessage "
4039
4039
[ Dialog ] : #class-dialog " Dialog "
4040
4040
[ ElementHandle ] : #class-elementhandle " ElementHandle "
0 commit comments