Skip to content

Commit 9ec5b44

Browse files
committed
Update method timing
1 parent 76a2781 commit 9ec5b44

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

seleniumbase/fixtures/base_case.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -971,7 +971,7 @@ def find_elements(self, selector, by=By.CSS_SELECTOR, limit=0):
971971
If "limit" is set and > 0, will only return that many elements. """
972972
selector, by = self.__recalculate_selector(selector, by)
973973
self.wait_for_ready_state_complete()
974-
time.sleep(0.07)
974+
time.sleep(0.05)
975975
elements = self.driver.find_elements(by=by, value=selector)
976976
if limit and limit > 0 and len(elements) > limit:
977977
elements = elements[:limit]
@@ -982,7 +982,7 @@ def find_visible_elements(self, selector, by=By.CSS_SELECTOR, limit=0):
982982
If "limit" is set and > 0, will only return that many elements. """
983983
selector, by = self.__recalculate_selector(selector, by)
984984
self.wait_for_ready_state_complete()
985-
time.sleep(0.07)
985+
time.sleep(0.05)
986986
v_elems = page_actions.find_visible_elements(self.driver, selector, by)
987987
if limit and limit > 0 and len(v_elems) > limit:
988988
v_elems = v_elems[:limit]

0 commit comments

Comments
 (0)