is it possible to get the current url from the page in PLaywright? I can't seem to find any information in the docs.
Something like this:
let url = await page.url
is it possible to get the current url from the page in PLaywright? I can't seem to find any information in the docs.
Something like this:
let url = await page.url
const {browser}=this.helpers.Playwright;
await browser.pages(); //list pages in the browser
//get current page
const {page}=this.helpers.Playwright;
const url=await page.url();//get the url of the current page