Commit
·
fcecf6a
1
Parent(s):
2ea4b91
Update upload.py
Browse files
upload.py
CHANGED
|
@@ -537,7 +537,7 @@ def _post_video(driver) -> None:
|
|
| 537 |
driver : selenium.webdriver
|
| 538 |
"""
|
| 539 |
logger.debug(green('Clicking the post button'))
|
| 540 |
-
el=driver.
|
| 541 |
|
| 542 |
action = ActionChains(driver)
|
| 543 |
action.move_to_element_with_offset(el, 1032, 1176)
|
|
|
|
| 537 |
driver : selenium.webdriver
|
| 538 |
"""
|
| 539 |
logger.debug(green('Clicking the post button'))
|
| 540 |
+
el=driver.find_element(By.XPATH,"//button[contains(string(), 'Post')]")
|
| 541 |
|
| 542 |
action = ActionChains(driver)
|
| 543 |
action.move_to_element_with_offset(el, 1032, 1176)
|