← Back to Discord Forum

Page has been redirected, or page.url() cannot retrieve the redirected URL

cdpconnect, 1.38.0

This thread is trying to answer question "How can I resolve the issue of page redirection or retrieving the redirected URL in my tests?"

3 replies

Hey @superai.

Can u elaborate ur issue more precisely


I have seen that or something like that in my tests. My url assertions were getting wrong data. If that is the case, try adding waits before or after the assert. This helped my cases.

Related Discord Threads

AboutQuestionsDiscord ForumBrowser ExtensionTagsQA Jobs

Rayrun is a community for QA engineers. I am constantly looking for new ways to add value to people learning Playwright and other browser automation frameworks. If you have feedback, email luc@ray.run.