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

Error when script clicks link #350

Open
turpez opened this issue Jul 26, 2024 · 5 comments
Open

Error when script clicks link #350

turpez opened this issue Jul 26, 2024 · 5 comments

Comments

@turpez
Copy link

turpez commented Jul 26, 2024

Free games: [
'https://store.epicgames.com/en-US/p/olympics-go-paris-2024-pc-outfits-a48737',
'https://store.epicgames.com/en-US/p/fist-forged-in-shadow-torch'
]
--- Exception:
locator.innerText: Timeout 60000ms exceeded.
Call log:

  • waiting for locator('//button[@data-testid="purchase-cta-button"][not(contains(.,"Loading"))]').first()

    at /home/turpez/Bureau/claim game epic game V2/free-games-claimer/epic-games.js:159:124 {
    name: 'TimeoutError'
    }

@einfallsreichername
Copy link

Same here, with Epic Games and also Prime Gaming

@ceszkraft
Copy link

ceszkraft commented Aug 1, 2024

I got the same error.
Im running a container with this command:
docker run --rm -p 6080:6080 -v fgc:/fgc/data --pull=always ghcr.io/vogler/free-games-claimer

Epic games error:
Exception:
locator.innerText: Timeout 60000ms exceeded.
=========================== logs ===========================
waiting for locator('xpath=//button[@data-testid="purchase-cta-button"][not(contains(.,"Loading"))]').first()

at /fgc/epic-games.js:144:124 {

name: 'TimeoutError'
}

prime-gaming errror:
Exception:
TypeError: Cannot read properties of null (reading 'click')
at file:///fgc/prime-gaming.js:116:54

gog error:
Currently no free giveaway!

I checked and there is a game for free in gog but it always show this message: "Currently no free giveaway!"

Am I doing something wrong?

@vogler
Copy link
Owner

vogler commented Aug 2, 2024

epic-games was fixed in d9e91d2.

prime-gaming works for me.

gog there's currently no free giveaway.

I checked and there is a game for free in gog but it always show this message: "Currently no free giveaway!"

@ceszkraft Where?

@ceszkraft
Copy link

Should I update my image or something? I thought that command should update automatically

--pull=always.

I tried to claim a game on gog, the last one which was free but it shows no current giveaway.

I'll try to pull a new image and run a new container.

@vogler
Copy link
Owner

vogler commented Aug 2, 2024

Yes, it should automatically pull the current version.

I tried to claim a game on gog, the last one which was free but it shows no current giveaway.

Ok, will have to see when there's the next one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants