How do I posible make this code work.. I am trying to figure it out lately. but my code doesnt seems to work Here is the code that I have tried on Button::before... The send button will on appear when I type or add image.. Sendkey.ENTER doesnt work on the site
THe code I have tried
xpath = '/html/body/div[1]/div/div[1]/div/main/div[1]/div/div/div/div[1]/div/div/div[3]/form/button'
WebDriverWait(self.browser, self.delay).until(
EC.presence_of_element_located((By.XPATH, xpath)))
send = self.browser.find_element(By.XPATH, value=xpath)
send.click()
I got this errors
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python39\lib\site-packages\selenium\webdriver\support\wait.py", line 95, in until
raise TimeoutException(message, screen, stacktrace)
selenium.common.exceptions.TimeoutException: Message:
Stacktrace:
Backtrace:
(No symbol) [0x00FAF243]
(No symbol) [0x00F37FD1]
(No symbol) [0x00E2D04D]
(No symbol) [0x00E5C0B0]
(No symbol) [0x00E5C22B]
(No symbol) [0x00E8E612]
(No symbol) [0x00E785D4]
(No symbol) [0x00E8C9EB]
(No symbol) [0x00E78386]
(No symbol) [0x00E5163C]
(No symbol) [0x00E5269D]
GetHandleVerifier [0x01249A22+2655074]
GetHandleVerifier [0x0123CA24+2601828]
GetHandleVerifier [0x01058C0A+619850]
GetHandleVerifier [0x01057830+614768]
(No symbol) [0x00F405FC]
(No symbol) [0x00F45968]
(No symbol) [0x00F45A55]
(No symbol) [0x00F5051B]
BaseThreadInitThunk [0x7753FEF9+25]
RtlGetAppContainerNamedObjectPath [0x77AF7BBE+286]
RtlGetAppContainerNamedObjectPath [0x77AF7B8E+238]