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

Discord Notification Failed for Prime Gaming DLC (PG_CLAIMDLC) #144

Closed
Targunitoth opened this issue May 19, 2023 · 1 comment
Closed

Discord Notification Failed for Prime Gaming DLC (PG_CLAIMDLC) #144

Targunitoth opened this issue May 19, 2023 · 1 comment

Comments

@Targunitoth
Copy link
Contributor

Targunitoth commented May 19, 2023

Hello, I don't get notifications for Prime Games, instead I get the following error message:

...
fgc                   | Number of unclaimed DLC: 3
fgc                   | locator.getAttribute: Error: strict mode violation: locator('div[data-a-target="offer-list-IN_GAME_LOOT"] [data-a-target="item-card"]:has(p:text-is("Claim"))').first().locator('a') resolved to 2 elements:
fgc                   |     1) <a data-a-target="learn-more-card" data-a-selector=…>…</a> aka getByRole('link', { name: 'Go to D.Va Waveracer Legendary Skin offer' })
fgc                   |     2) <a class="tw-interactive tw-button" href="/dva-wave…>…</a> aka getByRole('link', { name: 'Go to D.Va Waveracer Legendary Skin offer' }).getByRole('link', { name: 'Claim' })
fgc                   |
fgc                   | =========================== logs ===========================
fgc                   | waiting for locator('div[data-a-target="offer-list-IN_GAME_LOOT"] [data-a-target="item-card"]:has(p:text-is("Claim"))').first().locator('a')
fgc                   | ============================================================
fgc                   |     at file:///fgc/prime-gaming.js:253:66
fgc                   |     at async file:///fgc/prime-gaming.js:250:18
fgc                   | error: Command failed: apprise 'discord:///*********/*****************************' -i html '' -b 'prime-gaming failed: locator.getAttribute: Error: strict mode violation: locator('div[data-a-target="offer-list-IN_GAME_LOOT"] [data-a-target="item-card"]:has(p:text-is("Claim"))').first().locator('a') resolved to 2 elements:'
fgc                   | /bin/sh: 1: Syntax error: "(" unexpected
...

also for other games:

fgc                   | locator.getAttribute: Error: strict mode violation: locator('div[data-a-target="offer-list-IN_GAME_LOOT"] [data-a-target="item-card"]:has(p:text-is("Claim"))').first().locator('a') resolved to 2 elements:
fgc                   |     1) <a data-a-target="learn-more-card" data-a-selector=…>…</a> aka getByRole('link', { name: 'Go to Hit the Bag Exotic Emote Bundle offer' })
fgc                   |     2) <a class="tw-interactive tw-button" href="/hit-the-…>…</a> aka getByRole('link', { name: 'Claim' })
@vogler
Copy link
Owner

vogler commented May 19, 2023

Duplicate of #142, should have been fixed by 290fe28. Did you update your image?

@vogler vogler closed this as completed May 19, 2023
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

2 participants