Skip to content
This repository has been archived by the owner on Dec 7, 2023. It is now read-only.

</textarea> is not clickable #26

Closed
thuSunao opened this issue Dec 14, 2022 · 1 comment
Closed

</textarea> is not clickable #26

thuSunao opened this issue Dec 14, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@thuSunao
Copy link

thuSunao commented Dec 14, 2022

Traceback (most recent call last):
  File "/home/sunao/sqa/models/run_gpt3.py", line 260, in <module>
    prediction, output = get_gpt3_result(prompt, args)  # 'A', ..., 'E'
  File "/home/sunao/sqa/models/run_gpt3.py", line 73, in get_gpt3_result
    res = response.send_message(prompt)
  File "/home/sunao/anaconda3/envs/sqa/lib/python3.10/site-packages/pyChatGPT/pyChatGPT.py", line 341, in send_message
    textbox.click()
  File "/home/sunao/anaconda3/envs/sqa/lib/python3.10/site-packages/selenium/webdriver/remote/webelement.py", line 93, in click
    self._execute(Command.CLICK_ELEMENT)
  File "/home/sunao/anaconda3/envs/sqa/lib/python3.10/site-packages/selenium/webdriver/remote/webelement.py", line 410, in _execute
    return self._parent.execute(command, params)
  File "/home/sunao/anaconda3/envs/sqa/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 444, in execute
    self.error_handler.check_response(response)
  File "/home/sunao/anaconda3/envs/sqa/lib/python3.10/site-packages/selenium/webdriver/remote/errorhandler.py", line 249, in check_response
    raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.ElementClickInterceptedException: Message: element click intercepted: Element <textarea tabindex="0" data-id="root" style="max-height: 200px; height: 24px; overflow-y: hidden;" rows="1" placeholder="" class="m-0 w-full resize-none border-0 bg-transparent p-0 pr-7 focus:ring-0 focus-visible:ring-0 dark:bg-transparent"></textarea> is not clickable at point (528, 418). Other element would receive the click: <div class="flex gap-4 mt-6">...</div>
  (Session info: chrome=108.0.5359.71)
Stacktrace:
#0 0x56143354d2a3 <unknown>
#1 0x56143330bf77 <unknown>
#2 0x56143334f0a9 <unknown>
#3 0x56143334d18d <unknown>
#4 0x56143334ad88 <unknown>
#5 0x561433349f2d <unknown>
#6 0x56143333ddc5 <unknown>
#7 0x561433368b32 <unknown>
#8 0x56143333d61f <unknown>
#9 0x561433368cfe <unknown>
#10 0x56143338047c <unknown>
#11 0x561433368903 <unknown>
#12 0x56143333bece <unknown>
#13 0x56143333cfde <unknown>
#14 0x56143359d63e <unknown>
#15 0x5614335a0b79 <unknown>
#16 0x56143358389e <unknown>
#17 0x5614335a1a83 <unknown>
#18 0x561433576505 <unknown>
#19 0x5614335c2ca8 <unknown>
#20 0x5614335c2e36 <unknown>
#21 0x5614335de333 <unknown>
#22 0x7f7d575a36db start_thread

the indexerror was fixed, but still got an unexpected error. it looks like that the focus was on a textarea and clicked

@terry3041
Copy link
Owner

terry3041 commented Dec 14, 2022

Try v0.3.9.1.

@terry3041 terry3041 added the bug Something isn't working label Dec 14, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants