Update app.py
Browse files
app.py
CHANGED
|
@@ -41,7 +41,7 @@ def selenium(message):
|
|
| 41 |
wd.get(url)
|
| 42 |
#wait = WebDriverWait(wd, 15) # Korrektur der Instanziierung
|
| 43 |
#textarea = wait.until(EC.visibility_of_element_located((By.ID, "userInput"))) # Korrektur der Verwendung von EC
|
| 44 |
-
text_input = WebDriverWait(
|
| 45 |
EC.presence_of_element_located((By.ID, 'userInput'))
|
| 46 |
)
|
| 47 |
#textarea = wd.find_element(By.XPATH, "/html/body/div/main/div[3]/div[2]/div/div[2]/div/div/div[3]/div[2]/div[1]/div/div/div/div/textarea")
|
|
|
|
| 41 |
wd.get(url)
|
| 42 |
#wait = WebDriverWait(wd, 15) # Korrektur der Instanziierung
|
| 43 |
#textarea = wait.until(EC.visibility_of_element_located((By.ID, "userInput"))) # Korrektur der Verwendung von EC
|
| 44 |
+
text_input = WebDriverWait(wd, 15).until(
|
| 45 |
EC.presence_of_element_located((By.ID, 'userInput'))
|
| 46 |
)
|
| 47 |
#textarea = wd.find_element(By.XPATH, "/html/body/div/main/div[3]/div[2]/div/div[2]/div/div/div[3]/div[2]/div[1]/div/div/div/div/textarea")
|