Rayrun
← Back to Discord Forum

playwright can’t seem to find anything on the second page of our extension

After opening the extension and clicking a button to get to another page in the extension playwright can’t seem to find anything on the second page. Expect(page).to_have_title(‘page title’) fails. Is this because the page object is still the first page? If so how to get the page object to change in the middle of a test? We’re using python with pytest-playwright.

This thread is trying to answer question "Why can't playwright find anything on the second page of the extension and how to change the page object in the middle of a test?"

0 replies

Related Discord Threads

TwitterGitHubLinkedIn
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 [email protected].