-
|
In my situation, the save_screenshot function occasionally captures a page that has not fully loaded, resulting in an incomplete elements in the page. |
Beta Was this translation helpful? Give feedback.
Answered by
mdmintz
Mar 18, 2024
Replies: 1 comment
-
|
Assuming you haven't modified the default You can also wait for a specific element to appear first by using |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
mdmintz
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Assuming you haven't modified the default
pageLoadStrategyfor SeleniumBase, methods will wait for thereadyStateof the web page to becompletebefore performing actions, such as saving a screenshot withself.save_screenshot("NAME.png").You can also wait for a specific element to appear first by using
self.wait_for_element(selector).