Microsoft-Rewards-Script icon indicating copy to clipboard operation
Microsoft-Rewards-Script copied to clipboard

Desktop Search waiting for locator('#sb_form_q') to be visible

Open dvdstywn opened this issue 6 months ago • 3 comments

I got this error

[5/29/2025, 10:50:15 PM] [PID: 573163] [LOG] DESKTOP [SEARCH-BING] 90 Points Remaining | Query: richard gasquet
[5/29/2025, 10:50:27 PM] [PID: 573163] [ERROR] DESKTOP [SEARCH-BING] Search failed, An error occurred:TimeoutError: page.waitForSelector: Timeout 10000ms exceeded.
Call log:
  - waiting for locator('#sb_form_q') to be visible

[5/29/2025, 10:50:27 PM] [PID: 573163] [WARN] DESKTOP [SEARCH-BING] Retrying search, attempt 0/5
[5/29/2025, 10:50:47 PM] [PID: 573163] [ERROR] DESKTOP [SEARCH-BING] Search failed, An error occurred:TimeoutError: page.waitForSelector: Timeout 10000ms exceeded.
Call log:
  - waiting for locator('#sb_form_q') to be visible

[5/29/2025, 10:50:47 PM] [PID: 573163] [WARN] DESKTOP [SEARCH-BING] Retrying search, attempt 1/5
[5/29/2025, 10:51:18 PM] [PID: 573163] [ERROR] DESKTOP [SEARCH-BING] Search failed, An error occurred:TimeoutError: page.waitForSelector: Timeout 10000ms exceeded.
Call log:
  - waiting for locator('#sb_form_q') to be visible
  -   locator resolved to visible <textarea name="q" rows="1" autofocus="" type="search" id="sb_form_q" placeholder="" maxlength="2000" autocorrect="off" inputmode="search" autocomplete="off" spellcheck="false" autocapitalize="none" enterkeyhint="search" aria-autocomplete="both" class="sb_form_q sb_form_ta" aria-label="0 characters out of 2000"></textarea>

[5/29/2025, 10:51:18 PM] [PID: 573163] [WARN] DESKTOP [SEARCH-BING] Retrying search, attempt 2/5
[5/29/2025, 10:51:49 PM] [PID: 573163] [ERROR] DESKTOP [SEARCH-BING] Search failed, An error occurred:TimeoutError: page.waitForSelector: Timeout 10000ms exceeded.
Call log:
  - waiting for locator('#sb_form_q') to be visible
  -   locator resolved to visible <textarea name="q" rows="1" autofocus="" type="search" id="sb_form_q" placeholder="" maxlength="2000" autocorrect="off" inputmode="search" autocomplete="off" spellcheck="false" autocapitalize="none" enterkeyhint="search" aria-autocomplete="both" class="sb_form_q sb_form_ta" aria-label="0 characters out of 2000"></textarea>

[5/29/2025, 10:51:49 PM] [PID: 573163] [WARN] DESKTOP [SEARCH-BING] Retrying search, attempt 3/5
[5/29/2025, 10:52:09 PM] [PID: 573163] [ERROR] DESKTOP [SEARCH-BING] Search failed, An error occurred:TimeoutError: page.waitForSelector: Timeout 10000ms exceeded.
Call log:
  - waiting for locator('#sb_form_q') to be visible

[5/29/2025, 10:52:09 PM] [PID: 573163] [WARN] DESKTOP [SEARCH-BING] Retrying search, attempt 4/5
[5/29/2025, 10:52:18 PM] [PID: 573163] [ERROR] DESKTOP [SEARCH-BING] Search failed after 5 retries, ending

dvdstywn avatar May 29 '25 14:05 dvdstywn

i suggest u to use docker

L9Lenny avatar May 29 '25 21:05 L9Lenny

i suggest u to use docker

Last time I used docker, I have encounterd a 2FA issues, I cant enter the 2FA. Has this problem fixed or any workaround?

dvdstywn avatar May 30 '25 01:05 dvdstywn

Both docker and the bare-metal script have had updates to login (mobile) and to print 2FA codes to the logs. You may have to use passwordless on your account.

The code to enter into MS Authenticator now does display in the logs. In docker use docker logs <container_name> or if you happen to use my NTFY branch/PR codes are pushed as notifications by default.

Use the latest updates, and either rebuild the script, or recreate your container

Edit: and delete your existing /sessions folder.

mgrimace avatar Sep 18 '25 01:09 mgrimace