From c80f64ed105635b5d0c6d77d5d8a4fa7ada2e60b Mon Sep 17 00:00:00 2001 From: Akash Sharma <33986563+Akash-Sharma-1@users.noreply.github.com> Date: Fri, 18 Jun 2021 22:36:29 +0530 Subject: [PATCH] Update notionparser.py --- loconotion/notionparser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/loconotion/notionparser.py b/loconotion/notionparser.py index 31f845e..6834d15 100644 --- a/loconotion/notionparser.py +++ b/loconotion/notionparser.py @@ -309,7 +309,7 @@ class Parser: ) if not is_toggled: # click on it, then wait until all elements are displayed - toggle_button.click() + self.driver.execute_script("arguments[0].click();", toggle_button) try: WebDriverWait(self.driver, timeout).until( toggle_block_has_opened(toggle_block)