mgokg commited on
Commit
8febfbf
·
verified ·
1 Parent(s): 3a3d49a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -43,7 +43,7 @@ def selenium(message):
43
  time.sleep(3)
44
  #text_input = wd.find_element(By.XPATH, '/html/body/div[1]/div/div[2]/div[2]/div/div/div[2]/div[2]/div/div/div[1]/textarea')
45
 
46
- #wait = WebDriverWait(wd, 15) # Korrektur der Instanziierung
47
  text_input = wait.until(EC.visibility_of_element_located((By.ID, "chat-input"))) # Korrektur der Verwendung von EC
48
  #text_input = WebDriverWait(wd, 25).until(
49
  #EC.presence_of_element_located((By.ID, 'chat-input'))
 
43
  time.sleep(3)
44
  #text_input = wd.find_element(By.XPATH, '/html/body/div[1]/div/div[2]/div[2]/div/div/div[2]/div[2]/div/div/div[1]/textarea')
45
 
46
+ wait = WebDriverWait(wd, 25) # Korrektur der Instanziierung
47
  text_input = wait.until(EC.visibility_of_element_located((By.ID, "chat-input"))) # Korrektur der Verwendung von EC
48
  #text_input = WebDriverWait(wd, 25).until(
49
  #EC.presence_of_element_located((By.ID, 'chat-input'))