Skip to content

Commit

Permalink
QA-7400 fixed a function in base_page.py
Browse files Browse the repository at this point in the history
  • Loading branch information
kbo001 committed Jan 27, 2025
1 parent b846ced commit 3264e5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common_utilities/selenium/base_page.py
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ def get_element(self, xpath_format, insert_value):
element = (By.XPATH, xpath_format.format(insert_value))
return element

def wait_for_ajax(self, locator, value=300):
def wait_for_ajax(self, value=300):
try:
wait = WebDriverWait(self.driver, value)
wait.until(lambda driver: self.driver.execute_script('return jQuery.active') == 0)
Expand Down

0 comments on commit 3264e5f

Please sign in to comment.