stepwright
Version:
A powerful web scraping library built with Playwright
19 lines • 656 B
TypeScript
import { Page } from 'playwright';
import { TabTemplate } from './types';
import './global-types';
/**
* Execute a tab.
*
* @param {object} page - The page object.
* @param {object} template - The template object.
* @param {function} onResult - The onResult function.
*
* @since v1.0.0
* @author Muhammad Umer Farooq <umer@lablnet.com>
*
* @returns {string} - The data.
* @since v1.0.0
* @company Framework Island
*/
export declare function executeTab(page: Page, template: TabTemplate, onResult?: (result: Record<string, any>, index: number) => void | Promise<void>): Promise<Record<string, any>[]>;
//# sourceMappingURL=tab-executor.d.ts.map