PlaywrightCrawlingContext <UserData>
Hierarchy
- BrowserCrawlingContext<Page, Response, PlaywrightController, UserData>
- PlaywrightContextUtils
- PlaywrightCrawlingContext
Index
Properties
browserController
crawler
enqueueLinks
Type declaration
Parameters
optionaloptions: BrowserCrawlerEnqueueLinksOptions
Returns Promise<BatchAddRequestsResult>
id
log
page
optionalproxyInfo
request
The original Request object.
optionalresponse
sendRequest
Type declaration
Parameters
optionaloverrideOptions: Partial<OptionsInit>
Returns Promise<Response<string>>
optionalsession
Methods
blockRequests
Parameters
optionaloptions: BlockRequestsOptions
Returns Promise<void>
injectFile
Parameters
filePath: string
optionaloptions: InjectFileOptions
Returns Promise<unknown>
injectJQuery
Returns Promise<unknown>
parseWithCheerio
Returns Promise<CheerioAPI>
An object with information about currently used proxy by the crawler and configured by the ProxyConfiguration class.