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

ElementClickInterceptedException: element click intercepted: Element is not clickable at point (733, 806) #71

Open
Free-Max367 opened this issue May 2, 2024 · 0 comments

Comments

@Free-Max367
Copy link

Hello,

I feel like there's an issue with the switch_model function in copilot.py (talkingheads 0.5.0).

When I use this function and the display of 'Choose a conversation style' options is not visible on the web page, the error mentioned in the title of this issue occurs. Below is the traceback:

chathead.switch_model("Precise")

INFO:Copilot: cib-serp is located.
INFO:Copilot: cib-conversation-main is located.
INFO:Copilot: cib-welcome-container is located.
INFO:Copilot: cib-tone-selector is located.
INFO:Copilot: button is located.
Traceback (most recent call last):

Cell In[16], line 1
chathead.switch_model("Precise")

File ~\AppData\Local\anaconda3\envs\meeting_report\Lib\site-packages\talkingheads\model_library\copilot.py:370 in switch_model
button.click()

File ~\AppData\Local\anaconda3\envs\meeting_report\Lib\site-packages\selenium\webdriver\remote\webelement.py:94 in click
self._execute(Command.CLICK_ELEMENT)

File ~\AppData\Local\anaconda3\envs\meeting_report\Lib\site-packages\selenium\webdriver\remote\webelement.py:395 in _execute
return self._parent.execute(command, params)

File ~\AppData\Local\anaconda3\envs\meeting_report\Lib\site-packages\selenium\webdriver\remote\webdriver.py:347 in execute
self.error_handler.check_response(response)

File ~\AppData\Local\anaconda3\envs\meeting_report\Lib\site-packages\selenium\webdriver\remote\errorhandler.py:229 in check_response
raise exception_class(message, screen, stacktrace)

ElementClickInterceptedException: element click intercepted: Element is not clickable at point (733, 806)
(Session info: chrome=124.0.6367.119)

image

When the display of 'Choose a conversation style' options is visible on the web page, the function runs correctly.

chathead.switch_model("Precise")

INFO:Copilot: cib-serp is located.
INFO:Copilot: cib-conversation-main is located.
INFO:Copilot: cib-welcome-container is located.
INFO:Copilot: cib-tone-selector is located.
INFO:Copilot: button is located.
INFO:Copilot:Switched to Precise
Out[17]: True

image

Looking forward to your feedback...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant