| 限定符和类型 | 类和说明 |
|---|---|
class |
Browser |
class |
BrowserContext |
class |
CDPSession |
class |
Connection |
class |
Frame |
class |
Page |
| 限定符和类型 | 方法和说明 |
|---|---|
EventEmitter<EventType> |
EventEmitter.on(EventType eventType,
Consumer<?> listener)
监听事件,可用于自定义事件监听,用户监听的事件都是在别的线程中异步执行的
|
EventEmitter<PageEvents> |
Page.on(PageEvents type,
Consumer<?> handler) |
| 限定符和类型 | 类和说明 |
|---|---|
class |
TrustedEmitter<EventType> |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
TrustedEmitter.pipeTo(EventEmitter<EventType> emitter) |
| 限定符和类型 | 类和说明 |
|---|---|
class |
BidiBrowser |
class |
BidiBrowserContext |
class |
BidiCdpSession |
class |
BidiConnection |
class |
BidiFrame |
class |
BidiPage |
class |
BidiRealmCore |
class |
BrowserCore |
class |
BrowsingContext |
class |
DedicatedWorkerRealm |
class |
Navigation |
class |
RequestCore |
class |
Session |
class |
SharedWorkerRealm |
class |
UserContext |
class |
UserPrompt |
class |
WindowRealm |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
BidiConnection.pipeTo(EventEmitter<ConnectionEvents> emitter) |
| 限定符和类型 | 类和说明 |
|---|---|
class |
CdpBrowser
Browser 代表一个浏览器实例,它是:
通过 Puppeteer.connect() 连接到或 - 由 Puppeteer.launch() 产生。
|
class |
CdpBrowserContext
BrowserContext 代表 browser 中的各个用户上下文。
|
class |
CdpFrame |
class |
CdpPage |
class |
ExecutionContext |
class |
FrameManager |
class |
NetworkManager |
class |
TargetManager |
| 限定符和类型 | 类和说明 |
|---|---|
class |
IsolatedWorldEmitter |
| 限定符和类型 | 方法和说明 |
|---|---|
EventEmitter<EventType> |
DisposableStack.getEmitter() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
DisposableStack.setEmitter(EventEmitter<EventType> emitter) |
| 构造器和说明 |
|---|
DisposableStack(EventEmitter<EventType> emitter,
EventType type,
Consumer<?> consumer) |
| 限定符和类型 | 类和说明 |
|---|---|
class |
CdpCDPSession
The CDPSession instances are used to talk raw Chrome Devtools Protocol:
protocol methods can be called with session.send method.
|
class |
CdpConnection
web socket client 浏览器级别的连接
|
Copyright © 2020–2025. All rights reserved.