Skip to main content

Until


Methods ​

element_interactable ​

public static
  • Wait until the UIElement received as a factor is interactive.
Usage​
ok_button = ui.find(By.path('/Canvas[1]/Register[1]/OkBtn[1]'))
gamium.wait(Until.element_interactable(ok_button))
ok_button.click()
Arguments ​
Return ​
  • Condition[T]

object_located ​

public static
  • Wait until the object is found to the Locator, wait until the object is found.
Usage​
okButton = gamium.wait(Until.object_located(By.path('/Canvas[1]/Register[1]/OkBtn[1]')))
Arguments ​
Return ​
  • ObjectInfoCondition

objects_located ​

public static
  • Wait until the Objects corresponding to the Locator received as a factor are found.
Usage​
products = gamium.wait(Until.objects_located(By.path('/Canvas[1]/ShopView[1]//ProductSlot(Clone)')))
Arguments ​
Return ​
  • ObjectInfosCondition