-
-
Notifications
You must be signed in to change notification settings - Fork 208
Closed
Description
Ran on docker
Scenario:
There are multiple free games to be claimed, but some of them are unavailable in the user's region.
Expected behaviour:
Games that are unavailable are skipped and games that are available are claimed.
Existing behaviour:
Script exited after first attempt on unavailable game due to time out.
Logs:
$ docker run --rm -p 6080:6080 -v fgc:/fgc/data ghcr.io/vogler/free-games-claimer node epic-games
Xvfb display server created screen with resolution 1280x1280
VNC is running on port 5900 (no password!)
noVNC (VNC via browser) is running on http://localhost:6080
2023-01-13 01:34:39.763 started checking epic-games
Signed in as ***********
Free games: [
'https://store.epicgames.com/en-US/p/divine-knockout--standard',
'https://store.epicgames.com/en-US/p/first-class-trouble',
'https://store.epicgames.com/en-US/p/gamedec'
]
Current free game: Divine Knockout (DKO)
Not in library yet! Click GET.
locator.click: Timeout 20000ms exceeded.
=========================== logs ===========================
waiting for frameLocator('#webPurchaseContainer iframe')
locator resolved to visible <iframe class="" src="/purchase?highlightColor=0078f2&of…></iframe>
waiting for frameLocator('#webPurchaseContainer iframe').locator('button:has-text("Place Order")')
============================================================
at file:///fgc/epic-games.js:151:62 {
name: 'TimeoutError'
}
vogler
Metadata
Metadata
Assignees
Labels
No labels