mirror of
https://github.com/leoncvlt/loconotion.git
synced 2024-08-30 18:12:12 +00:00
Merge pull request #64 from Akash-Sharma-1/master
Added Javascript based click for toggle buttons
This commit is contained in:
commit
d0b4dbf76d
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user