@@ -1754,8 +1754,8 @@ def click_partial_link_text(self, partial_link_text, timeout=None):
17541754 def get_text(self, selector, by="css selector", timeout=None):
17551755 self.__check_scope()
17561756 if not timeout:
1757- timeout = settings.SMALL_TIMEOUT
1758- if self.timeout_multiplier and timeout == settings.SMALL_TIMEOUT :
1757+ timeout = settings.LARGE_TIMEOUT
1758+ if self.timeout_multiplier and timeout == settings.LARGE_TIMEOUT :
17591759 timeout = self.__get_new_timeout(timeout)
17601760 selector, by = self.__recalculate_selector(selector, by)
17611761 if self.__is_shadow_selector(selector):
@@ -1803,8 +1803,8 @@ def get_attribute(
18031803 get raised if hard_fail is True (otherwise None is returned)."""
18041804 self.__check_scope()
18051805 if not timeout:
1806- timeout = settings.SMALL_TIMEOUT
1807- if self.timeout_multiplier and timeout == settings.SMALL_TIMEOUT :
1806+ timeout = settings.LARGE_TIMEOUT
1807+ if self.timeout_multiplier and timeout == settings.LARGE_TIMEOUT :
18081808 timeout = self.__get_new_timeout(timeout)
18091809 selector, by = self.__recalculate_selector(selector, by)
18101810 self.wait_for_ready_state_complete()
@@ -1849,8 +1849,8 @@ def set_attribute(
18491849 Only the first matching selector from querySelector() is used."""
18501850 self.__check_scope()
18511851 if not timeout:
1852- timeout = settings.SMALL_TIMEOUT
1853- if self.timeout_multiplier and timeout == settings.SMALL_TIMEOUT :
1852+ timeout = settings.LARGE_TIMEOUT
1853+ if self.timeout_multiplier and timeout == settings.LARGE_TIMEOUT :
18541854 timeout = self.__get_new_timeout(timeout)
18551855 selector, by = self.__recalculate_selector(selector, by)
18561856 original_attribute = attribute
@@ -1931,8 +1931,8 @@ def remove_attribute(
19311931 Only the first matching selector from querySelector() is used."""
19321932 self.__check_scope()
19331933 if not timeout:
1934- timeout = settings.SMALL_TIMEOUT
1935- if self.timeout_multiplier and timeout == settings.SMALL_TIMEOUT :
1934+ timeout = settings.LARGE_TIMEOUT
1935+ if self.timeout_multiplier and timeout == settings.LARGE_TIMEOUT :
19361936 timeout = self.__get_new_timeout(timeout)
19371937 selector, by = self.__recalculate_selector(selector, by)
19381938 if self.is_element_visible(selector, by=by):
@@ -1984,8 +1984,8 @@ def get_property(
19841984 html_text = self.get_property(SELECTOR, "textContent") """
19851985 self.__check_scope()
19861986 if not timeout:
1987- timeout = settings.SMALL_TIMEOUT
1988- if self.timeout_multiplier and timeout == settings.SMALL_TIMEOUT :
1987+ timeout = settings.LARGE_TIMEOUT
1988+ if self.timeout_multiplier and timeout == settings.LARGE_TIMEOUT :
19891989 timeout = self.__get_new_timeout(timeout)
19901990 selector, by = self.__recalculate_selector(selector, by)
19911991 self.wait_for_ready_state_complete()
@@ -2025,8 +2025,8 @@ def get_property_value(
20252025 self.assertTrue(float(opacity) > 0, "Element not visible!") """
20262026 self.__check_scope()
20272027 if not timeout:
2028- timeout = settings.SMALL_TIMEOUT
2029- if self.timeout_multiplier and timeout == settings.SMALL_TIMEOUT :
2028+ timeout = settings.LARGE_TIMEOUT
2029+ if self.timeout_multiplier and timeout == settings.LARGE_TIMEOUT :
20302030 timeout = self.__get_new_timeout(timeout)
20312031 selector, by = self.__recalculate_selector(selector, by)
20322032 self.wait_for_ready_state_complete()
@@ -2062,8 +2062,8 @@ def get_image_url(self, selector, by="css selector", timeout=None):
20622062 """Extracts the URL from an image element on the page."""
20632063 self.__check_scope()
20642064 if not timeout:
2065- timeout = settings.SMALL_TIMEOUT
2066- if self.timeout_multiplier and timeout == settings.SMALL_TIMEOUT :
2065+ timeout = settings.LARGE_TIMEOUT
2066+ if self.timeout_multiplier and timeout == settings.LARGE_TIMEOUT :
20672067 timeout = self.__get_new_timeout(timeout)
20682068 return self.get_attribute(
20692069 selector, attribute="src", by=by, timeout=timeout
0 commit comments