← Back to Discord Forum

Frame load interrupted when link redirects to App Store

I have a download button that I'm trying to test, which on iOS redirects to an App Store link instead of downloading a file. When clicking on this link with Playwright and waiting on the resulting URL, I get a Frame load interrupted error.

Basically, I just want to test to make sure redirect is correct.

Here's a snippet of my code:

const navPromise = page.waitForURL("https://apps.apple.com/*", { timeout: 450000000 });
await button.click();
await navPromise;

This thread is trying to answer question "How can the `Frame load interrupted` error be resolved when testing a download button that redirects to an App Store link on iOS using Playwright?"

0 replies
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.