2gis / Winium

Automation framework for Windows platforms
Mozilla Public License 2.0
382 stars 123 forks source link

How can I wait for element to load #11

Open sanjeets opened 8 years ago

sanjeets commented 8 years ago

I am trying to wait for an element to load but am getting an exception:

wait = WebDriverWait(self.driver, 20)

I am getting an exception

skyline-gleb commented 8 years ago

An example of using the WebDriverWait:

wait = WebDriverWait(driver, 20)
wait.until(expected_conditions.presence_of_element_located((By.ID, 'AutomationId')))

It work for you? If no, please, get exception message.

sanjeets commented 8 years ago

Thats what I tried will give it another go and send you the error message

Asha1213 commented 7 years ago

How to specify explict waits in winiumdriver

Sourabh25 commented 7 years ago

is there any answer to this?

ajit2548 commented 5 years ago

i am also waiting for answer to this. Any help appreciated

VEERUG commented 5 years ago

How to specify explicit waits, implicit wait and fluent wait in winiumdriver. I need the help to write the method for Below cases. 1.wait for the element to visible on page with a specified timeout.

  1. Wait for an element to no longer be visible on the page untill the specified time.
  2. Wait for an element to no longer be visible on the page
  3. Wait for picklist to populate (wait for the picklist to become visible first, then wait for
    • values to populate the picklist)
  4. Wait for an element to stop changing size.
  5. Wait for an element to stop moving (not scrolling)
  6. Wait for an element changing its text from the original text to somewhat else.

    "Your assistance in this matter is greatly appreciated",