We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c87c9a commit 5938bf4Copy full SHA for 5938bf4
epic-games.js
@@ -173,7 +173,7 @@ try {
173
await page.waitForFunction(
174
() => {
175
const btn = document.querySelector('button[data-testid="purchase-cta-button"]');
176
- return btn && btn.textContent && /[ei]/i.test(btn.textContent);
+ return btn && /[ei]/i.test(btn.textContent) && btn.textContent != 'Loading';
177
}
178
);
179
const purchaseBtn = page.locator('button[data-testid="purchase-cta-button"]').first();
0 commit comments