Skip to content

Commit

Permalink
Fixed frame detached error
Browse files Browse the repository at this point in the history
  • Loading branch information
TomStrong committed Dec 12, 2023
1 parent ec62e39 commit 15186b2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/userInterface.puppeteer.js
Original file line number Diff line number Diff line change
Expand Up @@ -879,6 +879,7 @@ try {
const startWaitingForEvents = () => {
promises.push(targetPage.waitForNavigation());
};
startWaitingForEvents();
const target = await Promise.race([
targetPage.locator('::-p-aria(Delete Account)'),
targetPage.locator('#DELETE\\ USER'),
Expand Down

0 comments on commit 15186b2

Please sign in to comment.