Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Epic] Redirected to download client instead of "Thanks for your order" #233

Open
andre-paulo98 opened this issue Oct 12, 2023 · 2 comments
Labels
bug Something isn't working store: epic-games

Comments

@andre-paulo98
Copy link

After claiming "Q.U.B.E. ULTIMATE BUNDLE" I was redirected to the page to download Epic Games (https://store.epicgames.com/en-US/download), instead of showing the "Thanks for your order" that ended the loop.

I run this script for 2 different accounts, and both were redirected to the download page.
It was pretty fast and I didn't have the option to record enabled, so I don't know if "Thanks for your order" was ever in the screen.

@vogler
Copy link
Owner

vogler commented Oct 12, 2023

I also got a timeout waiting for Thanks for your order! today (game was claimed successfully, but didn't redirect to download the launcher like you write):

$ node epic-games.js
2023-10-12 15:57:01.422 started checking epic-games
...
Free games: [ 'https://store.epicgames.com/en-US/p/godlike-burger-4150a0' ]
  This game contains mature content recommended only for ages 18+
Current free game: Godlike Burger
  Not in library yet! Click GET.
page.waitForSelector: Timeout 20000ms exceeded.
=========================== logs ===========================
waiting for locator('text=Thanks for your order!') to be visible
============================================================
    at file:///Users/voglerr/dev/Web/free-games-claimer/epic-games.js:230:20 {
  name: 'TimeoutError'
}
  Failed to claim! To avoid captchas try to get a new IP address.
claim game: 29.536s
claim all games: 29.657s
Recorded video: /Users/voglerr/dev/Web/free-games-claimer/data/record/2e6845c0-99ef-46c3-ae91-54f584ce586d.webm

Video:

2e6845c0-99ef-46c3-ae91-54f584ce586d.mp4

Thank you! is displayed first and stays on screen a bit longer:
image

Then the box with Thanks for your order! it is waiting for showed up, but was flickering and disappeared again:
image

Maybe it has to do with this Pop out this video button from Firefox - the box above only started to flicker/disappear just before this button was faded in:
image

@vogler
Copy link
Owner

vogler commented Oct 12, 2023

Changed it to waitFor attached instead of visible. Maybe that's enough.
Not sure if it's a no-op though (if it's already attached and just made visible - but I guess not since it contains some order number that comes from the server).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working store: epic-games
Projects
None yet
Development

No branches or pull requests

2 participants