We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Need a counter for PageBase that allows to ensure how much time took to open an url from selenium using qacode
import time print("Open page: %s" % (page_url)) start_clock = time.clock() gui_login_webpage(driver, page_url, username, password) end_clock = time.clock() elapsed_seconds = ((end_clock - start_clock) * 1000) is_ok = True if elapsed_seconds > max_load_seconds: print("ERROR: page load is too slow. It took %s seconds, more than %d seconds." \ % ("{:.2f}".format(elapsed_seconds), max_load_seconds)) is_ok = False else: print("Page load took: %s seconds." % ("{:.2f}".format(elapsed_seconds)))
The text was updated successfully, but these errors were encountered:
No branches or pull requests
SPEC
Need a counter for PageBase that allows to ensure how much time took to open an url from selenium using qacode
Notes
The text was updated successfully, but these errors were encountered: