Constructors
constructor
- new Browser(BidiConnection): Browser
Properties
Accessors
userContexts
- get userContexts(): Promise<GetUserContextsResult>
Returns Promise<GetUserContextsResult>
- A promise that resolves to the user contexts.
Methods
close
- close(): Promise<void>
Returns Promise<void>
- A promise that resolves when the browser is closed.
createUserContext
- createUserContext(): Promise<UserContextInfo>
Returns Promise<UserContextInfo>
- A promise that resolves when the user context is created.
removeUserContext
- removeUserContext(context): Promise<void>
Parameters
- context: RemoveUserContextParameters
Returns Promise<void>
- A promise that resolves when the user context is removed.
A class representing a Browser with various methods to interact with it.