WaitUntilOption
enum WaitUntilOption : String
Enum representing the various states to wait for before considering a navigation or page action complete.
load
: Wait until theload
event is fired, indicating that the entire page and all dependent resources have loaded.domcontentloaded
: Wait until theDOMContentLoaded
event is fired, indicating that the HTML is fully parsed, but stylesheets, images, and subframes may still be loading.networkidle
: Wait until the network is idle, meaning there are no ongoing network requests for a specified time period (0.5s). This state implies that most, if not all, resources have been fetched and processed.
-
Undocumented
Declaration
Swift
case load
-
Undocumented
Declaration
Swift
case domcontentloaded
-
Undocumented
Declaration
Swift
case networkidle