mgokg commited on
Commit
a1533bb
·
verified ·
1 Parent(s): feee28e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -40,7 +40,7 @@ def selenium(message):
40
  wd.get(url)
41
  wd.implicitly_wait(3)
42
 
43
- textarea = wd.find_element(By.CSS_SELECTOR, "#composer-background > div.flex.min-h-\[44px\].items-start.pl-2 > div.min-w-0.max-w-full.flex-1 > div > textarea")
44
  time.sleep(3)
45
  textarea.send_keys(f"{message}")
46
  time.sleep(3)
 
40
  wd.get(url)
41
  wd.implicitly_wait(3)
42
 
43
+ textarea = wd.find_element(By.XPATH, "//textarea")
44
  time.sleep(3)
45
  textarea.send_keys(f"{message}")
46
  time.sleep(3)