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

Cannot find UserStatus still persistent on v2.2.0

Open Nergly opened this issue 2 years ago • 1 comments

Untitle2d

Nergly avatar Aug 02 '22 12:08 Nergly

i have found 1 of 2 issues can cause this sometimes both

1- make sure your user agents are up to date, at least 105.x.x or newer for edge/chrome

2- some systems are slower and sometimes it times out before it can get the info changing he below seems to really help, i have only seen the issue 2-3 times since changing it

modify the stats.py found in account folder

change the wait times from 1 and 4 to 3 and 5 as below near line 88

    self._browser.open_in_new_tab(DASHBOARD_URL)
    time.sleep(3)
    
    if self._browser.click_element(By.XPATH, '//a[contains(@class, "signup-btn welcome")]', ignore_no_ele_exc=True):
        logging.debug('Welcome page detected.')
        time.sleep(5)

if you still have issues, try changing dashboard url time sleep to 5 instead of 3

PaC0h avatar Jan 11 '23 21:01 PaC0h