Page
an alias for extractArrayFromPage function
• options
• options.itemEntityName: string
• options.itemEntitySchema: SimpleArrayItemSchema
• options.label: string
• options.optionalPropertiesInvalidator?
• options.prompt?: string
• options.strategy?: ImageStrategy
| HtmlStrategy
• options.variantKey?: string
Promise
<Record
<string
, string
>[]>
an alias for extractArrayFromPageUsingSelectors function
• T extends ListStaticExtractor
• extractor: T
Promise
<ExtractListObjectsUsingStaticSelectorsReturnType
<T
>>
an alias for extractMarkdownFromPage function
Promise
<string
>
an alias for extractObjectFromPage function
• options
• options.entityName: string
• options.entitySchema: SimpleObjectSchema
• options.label: string
• options.optionalPropertiesInvalidator?
• options.prompt?: string
• options.strategy?: ImageStrategy
| HtmlStrategy
• options.variantKey?: string
Promise
<null
| Record
<string
, null
| string
>>
an alias for extractObjectFromPageUsingSelectors function
• T extends ObjectExtractor
• extractor: T
Promise
<ExtractObjectFromPageUsingSelectorsReturnType
<T
>>
an alias for extractStructuredDataFromPage function
• options
• options.dataSchema: JsonSchema
• options.label: string
• options.prompt?: string
• options.strategy?: ImageStrategy
| HtmlStrategy
Promise
<any
>
an alias for fillForm function
• options
• options.autoRecoveryOptions?
• options.autoRecoveryOptions.enabled: boolean
Whether auto-recovery is enabled
• options.autoRecoveryOptions.fieldsToMask?: ElementSelector
[]
Fields to mask during auto-recovery, use this if you do not want to send your form values to ai.
• options.autoRecoveryOptions.generateDataToUnblockForm?
• options.autoRecoveryOptions.generateDataToUnblockForm.enabled: boolean
Whether generating data to unblock the form is enabled.
• options.autoRecoveryOptions.generateDataToUnblockForm.prompt: string
The prompt to use for generating data.
• options.autoRecoveryOptions.maxRetries?: number
Maximum number of retries for auto-recovery
• options.autoRecoveryOptions.recoveryData: object
Data to use for auto-recovery
• options.fillFieldTimeout?: number
• options.formInput: (DynamicFormInputItem
| StaticFormInputItem
)[]
• options.formLocator: Locator
| ElementSelector
• options.isSubmitSuccessful
• options.submitForm
• options.timeout?: number
• options.waitTimeBetweenFill?: number
Promise
<boolean
>
an alias for extractStructuredDataFromPage function
• url: string
• options?
• options.referer?: string
• options.throwOnTimeout?: boolean
• options.timeout?: number
• options.waitUntil?: "load"
| "domcontentloaded"
| "networkidle"
| "commit"
Promise
<null
| Response
>
Page.goto
Page
an alias for extractArrayFromPage function
• options
• options.itemEntityName: string
• options.itemEntitySchema: SimpleArrayItemSchema
• options.label: string
• options.optionalPropertiesInvalidator?
• options.prompt?: string
• options.strategy?: ImageStrategy
| HtmlStrategy
• options.variantKey?: string
Promise
<Record
<string
, string
>[]>
an alias for extractArrayFromPageUsingSelectors function
• T extends ListStaticExtractor
• extractor: T
Promise
<ExtractListObjectsUsingStaticSelectorsReturnType
<T
>>
an alias for extractMarkdownFromPage function
Promise
<string
>
an alias for extractObjectFromPage function
• options
• options.entityName: string
• options.entitySchema: SimpleObjectSchema
• options.label: string
• options.optionalPropertiesInvalidator?
• options.prompt?: string
• options.strategy?: ImageStrategy
| HtmlStrategy
• options.variantKey?: string
Promise
<null
| Record
<string
, null
| string
>>
an alias for extractObjectFromPageUsingSelectors function
• T extends ObjectExtractor
• extractor: T
Promise
<ExtractObjectFromPageUsingSelectorsReturnType
<T
>>
an alias for extractStructuredDataFromPage function
• options
• options.dataSchema: JsonSchema
• options.label: string
• options.prompt?: string
• options.strategy?: ImageStrategy
| HtmlStrategy
Promise
<any
>
an alias for fillForm function
• options
• options.autoRecoveryOptions?
• options.autoRecoveryOptions.enabled: boolean
Whether auto-recovery is enabled
• options.autoRecoveryOptions.fieldsToMask?: ElementSelector
[]
Fields to mask during auto-recovery, use this if you do not want to send your form values to ai.
• options.autoRecoveryOptions.generateDataToUnblockForm?
• options.autoRecoveryOptions.generateDataToUnblockForm.enabled: boolean
Whether generating data to unblock the form is enabled.
• options.autoRecoveryOptions.generateDataToUnblockForm.prompt: string
The prompt to use for generating data.
• options.autoRecoveryOptions.maxRetries?: number
Maximum number of retries for auto-recovery
• options.autoRecoveryOptions.recoveryData: object
Data to use for auto-recovery
• options.fillFieldTimeout?: number
• options.formInput: (DynamicFormInputItem
| StaticFormInputItem
)[]
• options.formLocator: Locator
| ElementSelector
• options.isSubmitSuccessful
• options.submitForm
• options.timeout?: number
• options.waitTimeBetweenFill?: number
Promise
<boolean
>
an alias for extractStructuredDataFromPage function
• url: string
• options?
• options.referer?: string
• options.throwOnTimeout?: boolean
• options.timeout?: number
• options.waitUntil?: "load"
| "domcontentloaded"
| "networkidle"
| "commit"
Promise
<null
| Response
>
Page.goto