vogler / free-games-claimer

Automatically claims free games on the Epic Games Store, Amazon Prime Gaming and GOG.
GNU Affero General Public License v3.0
2.19k stars 139 forks source link

XBOX issue on login #339

Closed ccsimplyspolit closed 1 week ago

ccsimplyspolit commented 1 week ago
2024-06-27 10:29:53.750 started checking xbox
Not signed in anymore.
Login timeout is 180 seconds!
Using email and password from environment.
locator.click: Error: strict mode violation: getByRole('button', { name: 'Sign in' }) resolved to 2 elements:
    1) <span tabindex="0" role="button" id="idA_PWD_SwitchToCredPicker" data-testid="credentialPickerLink" class="___3cifbr0 f11xvspe f1bsjrm3 f3rmtva f1ern45e f1n71otn f1h8hb77 f1deefiw fryk5ur fv6z6zc f1cio4g9 f1mwb9y5 f1ynmygo f121g8nd f1i82eaq f8491dx f1nbblvp fifp7yv f1ov4xf1 f1asdtw4 f1rs8wju f1mtyjhi f1edxzt f3a8s8z">Other ways to sign in</span> aka getByTestId('credentialPickerLink')
    2) <button type="submit" id="idSIButton9" class="ext-primary ext-button ___1h2hnb1 f17hdyk f1oudy f1d4dqg0 f16643v7 f1ugb8du f7y26xe f13hfvcj fm07rh1 f1apsahp fd0rex f1cpir1z f16eno2h f18r37t4 fzjldvh f1qt38gl f8rakl9 f1g0fpsx f16h1fbs fsgvd33 fmuajgt f17m94t f9q4yqu fhe0td7 fwbpk35 f1wcl2ob f1ltk4hd f1oyfet3 f1k5fftb flu9u7w fa4qi57 f11zj0ky f43o6hn f14894vr f1uush98 fr10sow f1qd3bm6 ftxr058 f1x8m22p f18kyeoj f7uvj51 f1emwz7l fz1xuqi fsrzjhw fur62vr f1f2bxve f19rxy1v f1ks5t5n fg209rd f1hvg9fg f1ik4u3u f…>Sign in</button> aka getByTestId('textButtonContainer').getByRole('button', { name: 'Sign in' })

Call log:
  - waiting for getByRole('button', { name: 'Sign in' })

    at signInToXbox (D:\claim_games\FGC\free-games-claimer\xbox.js:137:57)
    at async performLogin (D:\claim_games\FGC\free-games-claimer\xbox.js:94:5)
    at async main (D:\claim_games\FGC\free-games-claimer\xbox.js:56:5)
error: spawn apprise ENOENT
node:internal/child_process:286
      const err = new ErrnoException(exitCode, syscall);
                  ^

Error: spawn apprise ENOENT
    at ChildProcess._handle.onexit (node:internal/child_process:286:19)
    at onErrorNT (node:internal/child_process:484:16)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
  errno: -4058,
  code: 'ENOENT',
  syscall: 'spawn apprise',
  path: 'apprise',
  spawnargs: [
    'tgram://123:123/123',
    '-i',
    'html',
    '-b',
    "'xbox failed: locator.click: Error: strict mode violation: getByRole('button', { name: 'Sign in' }) resolved to 2 elements:'",
    '-t',
    'Free Games Claimer'
  ],
  cmd: "apprise tgram://123:123/123 -i html -b 'xbox failed: locator.click: Error: strict mode violation: getByRole('button', { name: 'Sign in' }) resolved to 2 elements:' -t Free Games Claimer"
}