Rayrun
← Back to Discord Forum

Paypal payment flow

merrymary_42246posted in #help-playwright
Open in Discord
merrymary_42246

Hi guys, does anyone have any experience automating the payment flow with Paypal? It's an integrated component on UI [we can't change it internally]. The yellow checkout paypal button is inside an iframe, when clicking it, it opens a new browser window and I can't seem to find a reliable way 1) to always click on this yellow button (flaky) 2) to switch windows from the main one to this window2 to interact with paypal login. When I use a Playwright recorder, it stops recording right after the need to focus on window2.

Screen_Shot_2023-10-03_at_11.45.30_AM.png
Screen_Shot_2023-10-03_at_11.44.42_AM.png

This thread is trying to answer question "Does anyone have any experience automating the payment flow with Paypal, specifically in reliably clicking the Paypal button and switching windows to interact with the Paypal login?"

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 luc@ray.run.