Relative Content

Tag Archive for typescriptplaywright

Open page is told to be closed. How can I access it again?

In Playwright I want to check if a click triggers a popup.
I thought I could do it this way: Define a promise, click and wait for the promise in a try/catch. This works as expected. (In my example I removed the handling of the dialog and the error).