Playwright
extractObjectFromPageUsingSelectors
Extracts an object from a web page using the specified selectors.
Type parameters
• T extends ObjectExtractor
Examples
Parameters
• page: Page
The Playwright Page object from which to extract the data.
• extractor: T
The object extractor with the selectors to use.
Returns
Promise
<ExtractObjectFromPageUsingSelectorsReturnType
<T
>>
A promise that resolves to the extracted object.