Home > puppeteer > Frame > goto
Signature:
goto(url: string, options?: {
referer?: string;
timeout?: number;
waitUntil?: PuppeteerLifeCycleEvent | PuppeteerLifeCycleEvent[];
}): Promise<HTTPResponse | null>;
Parameter | Type | Description |
---|---|---|
url | string | |
options | { referer?: string; timeout?: number; waitUntil?: PuppeteerLifeCycleEvent | PuppeteerLifeCycleEvent[]; } |
Returns:
Promise<HTTPResponse | null>