Skip to content

Commit

Permalink
fix: checking added for window instance
Browse files Browse the repository at this point in the history
  • Loading branch information
frazarshad committed Mar 13, 2024
1 parent 3ae40a6 commit 1ed63bd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion commands/playwright-keplr.js
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,8 @@ module.exports = {
if (
page
.url()
.includes(`chrome-extension://${keplrExtensionData.id}/popup.html`)
.includes(`chrome-extension://${keplrExtensionData.id}/popup.html`) &&
page !== keplrWindow
) {
keplrNotificationWindow = page;
retries = 0;
Expand Down

0 comments on commit 1ed63bd

Please sign in to comment.