LjMario007 / Microsoft-Rewards-Bot

Microsoft Rewards (Bing Rewards) Bot - automated selenium python bot
19 stars 9 forks source link

Message: no such element: Unable to locate element: {"method":"id","selector":"sb_form_q"} #69

Open LiaMaps opened 3 years ago

LiaMaps commented 3 years ago

2020-11-16 10:04:18,714 :: ERROR :: root :: WebDriverException while executing pc portion Traceback (most recent call last): File "/home/xxx/Microsoft-Rewards-Bot/ms_rewards.py", line 1025, in <module> search(search_list) File "/home/xxx/Microsoft-Rewards-Bot/ms_rewards.py", line 600, in search ensure_pc_mode_logged_in() File "/home/xxx/Microsoft-Rewards-Bot/ms_rewards.py", line 912, in ensure_pc_mode_logged_in log_in_2(email, password) File "/home/xxx/Microsoft-Rewards-Bot/ms_rewards.py", line 356, in log_in_2 browser.find_element_by_id("sb_form_q").click() File "/usr/local/lib/python3.6/dist-packages/selenium/webdriver/remote/webdriver.py", line 359, in find_element_by_id return self.find_element(by=By.ID, value=id_) File "/usr/local/lib/python3.6/dist-packages/selenium/webdriver/remote/webdriver.py", line 966, in find_element 'value': value})['value'] File "/usr/local/lib/python3.6/dist-packages/selenium/webdriver/remote/webdriver.py", line 320, in execute self.error_handler.check_response(response) File "/usr/local/lib/python3.6/dist-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response raise exception_class(message, screen, stacktrace) selenium.common.exceptions.NoSuchElementException: Message: no such element: Unable to locate element: {"method":"id","selector":"sb_form_q"} (Session info: headless chrome=86.0.4240.75) (Driver info: chromedriver=85.0.4183.87 (cd6713ebf92fa1cacc0f1a598df280093af0c5d7-refs/branch-heads/4183@{#1689}),platform=Linux 4.4.0-193-generic x86_64)

Hi, iam faceing this error since some weeks. Some days it started working again. But the last days weeks its not possible to gain PC points anymore. Can you help? I took latest commit on ms_rewards.py from pull #68

Thanks