← Back to Discord Forum

Is there any method to check request.isRedirected?

thedoraemonposted in #help-playwright
Open in Discord

route.continue_() response = request.response() this gives error that can't read redirected response is there anything like request.isReqirected to check the redirected url?

This thread is trying to answer question "Is there any method to check if a request is redirected using Playwright in Python?"

3 replies

I am using python

Though adding a page wait for timeout after route.continue fixed most cases but not every and slowsdown website

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.