Relative Content

Tag Archive for playwright

Mimicking main desktop with playwright

Im trying to automate something online, but I want to try and make the website think it is my main computer, on some normal browser like chrome. Ive been looking up basic playwright tutorials for concerning “stealth” but im not sure this is quite what I need. I want to not look like a bot, at the same time not look like a random user.

waitForUrl behaviour in Playwright

I am using page.waitForUrl method to wait for desired url. After clicking the submit button, I am trying to wait for url using
page.waitForURL(“/my-test-url/v1/foo/”) but getting time out error. I see that url is caught in onResponse handler log but some how it is failing to wait. Am I using the correct method or does waitForUrl checks for only first response url it has received after form submit?