mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-05 00:56:39 +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
Notes:
sideshowbarker
2024-07-17 04:57:23 +09:00
Author: https://github.com/kalenikaliaksandr
Commit: 63b8b37bd4
Pull-request: https://github.com/SerenityOS/serenity/pull/17761
Reviewed-by: https://github.com/linusg
Reviewed-by: https://github.com/trflynn89 ✅
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