mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 09:08:10 +00:00
WebContent: Wait for navigation to complete in WebDriver
Implements https://w3c.github.io/webdriver/#dfn-waiting-for-the-navigation-to-complete.
This commit is contained in:
parent
9d03b57c96
commit
63b8b37bd4
2 changed files with 50 additions and 4 deletions
|
@ -101,6 +101,8 @@ private:
|
|||
Gfx::IntRect maximize_the_window();
|
||||
Gfx::IntRect iconify_the_window();
|
||||
|
||||
ErrorOr<void, Web::WebDriver::Error> wait_for_navigation_to_complete();
|
||||
|
||||
using StartNodeGetter = Function<ErrorOr<Web::DOM::ParentNode*, Web::WebDriver::Error>()>;
|
||||
ErrorOr<JsonArray, Web::WebDriver::Error> find(StartNodeGetter&& start_node_getter, Web::WebDriver::LocationStrategy using_, StringView value);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue