The new woob repository is here: https://gitlab.com/woob/woob. This gitlab will be removed soon.

The new woob repository is here: https://gitlab.com/woob/woob. This gitlab will be removed soon.

Commit a5617121 authored by Quentin Defenouillere's avatar Quentin Defenouillere Committed by Vincent A

[weboob.browser.selenium] Implemented wait_xpath_invisible

To wait for an element to disappear.
parent 5337729d
......@@ -601,6 +601,9 @@ def wait_xpath(self, xpath, timeout=None):
def wait_xpath_visible(self, xpath, timeout=None):
self.wait_until(EC.visibility_of_element_located(xpath_locator(xpath)), timeout)
def wait_xpath_invisible(self, xpath, timeout=None):
self.wait_until(EC.invisibility_of_element_located(xpath_locator(xpath)), timeout)
def wait_xpath_clickable(self, xpath, timeout=None):
self.wait_until(EC.element_to_be_clickable(xpath_locator(xpath)), timeout)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment