-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
Labels
feature or fix already existsUpgrade to the latest version as neededUpgrade to the latest version as needed
Description
Hi @mdmintz , it's a perfect package!
I have met a question about BaseCase.functions, in most of functions, you check if the way of 'By' is 'page_utils.is_xpath_selector()' and that convenient, but this step isn't cover all of the functions, e.g: 'BaseCase.get_text()',
def get_text(self, selector, by=By.CSS_SELECTOR, timeout=settings.SMALL_TIMEOUT):
if self.timeout_multiplier and timeout == settings.SMALL_TIMEOUT:
timeout = self._get_new_timeout(timeout)
self.wait_for_ready_state_complete()
time.sleep(0.01)
element = page_actions.wait_for_element_visible( self.driver, selector, by, timeout)
that's a little bit annoying.
mdmintz
Metadata
Metadata
Assignees
Labels
feature or fix already existsUpgrade to the latest version as neededUpgrade to the latest version as needed