Kind: Function
Source: atloria-monorepo/apps/screenshot-worker/test/helpers/batch-builder.ts
Helper function to create an authenticated batch request
Signature
tsfunction createAuthenticatedBatch(urls: string[], auth: {
loginUrl: string;
username: string;
password: string;
usernameSelector?: string;
passwordSelector?: string;
submitSelector?: string;
}, options: {
projectId?: string;
organizationId?: string;
}): TakeBatchScreenshotsDto
Parameters
| Name | Type |
|---|---|
urls | string[] |
auth | `{ |
loginUrl: string; username: string; password: string; usernameSelector?: string; passwordSelector?: string; submitSelector?: string;
}| |options|{
projectId?: string;
organizationId?: string;
}` |
Returns: TakeBatchScreenshotsDto
Was this page helpful?