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

[BUG] Cookies wont be accepted "Other element would receive the click:" #174

Closed
3 tasks done
SgtSobieski opened this issue Aug 11, 2024 · 2 comments
Closed
3 tasks done
Labels
bug Something isn't working duplicate This issue or pull request already exists

Comments

@SgtSobieski
Copy link

Before submitting a bug report...

  • This bug wasn't already reported.
    (I have checked every bug report on GitHub)

  • I've cleared the sessions folder.

Title

  • The title is no longer "[BUG] Title" and I edited it with the right error name.

Branch

master

Commit

b989b1c

Describe the bug

It seems the cookie overlay leads to the script crashing, as the search window cant be clicked. Region is Germany.

Maybe the latest version doesnt use the method "tryDismissAllMessages".

Copy and paste your error

2024-08-11 13:49:31,672 [INFO] [BING] Starting Desktop Edge Bing searches...
2024-08-11 13:49:43,906 [INFO] [BING] 1/10
2024-08-11 13:49:45,456 [DEBUG] terms=['varfolomeev', 'varfolomeev darja', 'varfolomeev vladislav', 'varfolomeev video', 'varfolomeev youtube', 'varfolomeev wikipedia', 'varfolomeev vier wm-titel']
2024-08-11 13:49:45,461 [DEBUG] rootTerm=varfolomeev
2024-08-11 13:49:45,742 [DEBUG] term=varfolomeev
2024-08-11 13:49:48,432 [DEBUG] [BING] Search attempt failed 1/8, sleeping 14.0625 seconds...
2024-08-11 13:50:03,732 [DEBUG] in exit exc_type=<class 'selenium.common.exceptions.ElementClickInterceptedException'> exc_value=Message: element click intercepted: Element <textarea class="b_searchbox" id="sb_form_q" name="q" enterkeyhint="" rows="1" data-min-rows="1" aria-autocomplete="both" aria-label="Enter your search here - Search suggestions will show as you type" type="search" inputmode="search" value="..." maxlength="2000" dir="" autocapitalize="off" autocorrect="off" autocomplete="off" spellcheck="false" placeholder="Ask me anything...">varfolomeev</textarea> is not clickable at point (442, 46). Other element would receive the click:


(Session info: chrome=127.0.6533.99)
Stacktrace:
#0 0x55a50bccd6aa
#1 0x55a50b99e600
#2 0x55a50b9f48e6
#3 0x55a50b9f27f6
#4 0x55a50b9f0277
#5 0x55a50b9ef11c
#6 0x55a50b9e2be6
#7 0x55a50ba108a2
#8 0x55a50b9e2599
#9 0x55a50ba10a6e
#10 0x55a50ba2f04a
#11 0x55a50ba10643
#12 0x55a50b9e0d31
#13 0x55a50b9e179e
#14 0x55a50bc9523b
#15 0x55a50bc991d2
#16 0x55a50bc825f5
#17 0x55a50bc99d62
#18 0x55a50bc6723f
#19 0x55a50bcbce48
#20 0x55a50bcbd020
#21 0x55a50bccc47c
#22 0x7f6e1f83fac3
traceback=<traceback object at 0x7fe69054dc80>
2024-08-11 13:50:04,086 [ERROR]
Traceback (most recent call last):
File "/xxx//main.py", line 39, in main
earned_points = executeBot(currentAccount, args)
File "/xxx//main.py", line 248, in executeBot
searches.bingSearches()
File "/xxx//src/searches.py", line 136, in bingSearches
self.bingSearch()
File "/xxx//src/searches.py", line 173, in bingSearch
searchbar.click()
File "/xxx/.local/lib/python3.10/site-packages/selenium/webdriver/remote/webelement.py", line 94, in click
self._execute(Command.CLICK_ELEMENT)
File "/xxx/.local/lib/python3.10/site-packages/selenium/webdriver/remote/webelement.py", line 395, in _execute
return self._parent.execute(command, params)
File "/xxx/.local/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 354, in execute
self.error_handler.check_response(response)
File "/xxx/.local/lib/python3.10/site-packages/selenium/webdriver/remote/errorhandler.py", line 229, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.ElementClickInterceptedException: Message: element click intercepted: Element <textarea class="b_searchbox" id="sb_form_q" name="q" enterkeyhint="" rows="1" data-min-rows="1" aria-autocomplete="both" aria-label="Enter your search here - Search suggestions will show as you type" type="search" inputmode="search" value="..." maxlength="2000" dir="" autocapitalize="off" autocorrect="off" autocomplete="off" spellcheck="false" placeholder="Ask me anything...">varfolomeev</textarea> is not clickable at point (442, 46). Other element would receive the click:

(Session info: chrome=127.0.6533.99)
Stacktrace:
#0 0x55a50bccd6aa

Screenshots

image

Value of dashboard variable

@SgtSobieski SgtSobieski added the bug Something isn't working label Aug 11, 2024
@SteveeeeeS
Copy link

Probably related to my logged bug: #169

@cal4 cal4 added the duplicate This issue or pull request already exists label Aug 11, 2024
@cal4 cal4 closed this as not planned Won't fix, can't repro, duplicate, stale Aug 11, 2024
@cal4
Copy link
Collaborator

cal4 commented Aug 11, 2024

See #169 for potential hotfix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

3 participants