puppeteer/docs/api/puppeteer.page.url.md

235 B

sidebar_label
Page.url

Page.url() method

Signature:

class Page {url(): string;}

Returns:

string

Remarks

Shortcut for page.mainFrame().url().