mirror of
https://github.com/leoncvlt/loconotion.git
synced 2024-08-30 18:12:12 +00:00
Update notionparser.py
This commit is contained in:
parent
b8a59cda17
commit
c80f64ed10
@ -309,7 +309,7 @@ class Parser:
|
|||||||
)
|
)
|
||||||
if not is_toggled:
|
if not is_toggled:
|
||||||
# click on it, then wait until all elements are displayed
|
# click on it, then wait until all elements are displayed
|
||||||
toggle_button.click()
|
self.driver.execute_script("arguments[0].click();", toggle_button)
|
||||||
try:
|
try:
|
||||||
WebDriverWait(self.driver, timeout).until(
|
WebDriverWait(self.driver, timeout).until(
|
||||||
toggle_block_has_opened(toggle_block)
|
toggle_block_has_opened(toggle_block)
|
||||||
|
Loading…
Reference in New Issue
Block a user