1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 18:27:35 +00:00

WebDriver: Implement POST /session/{session id}/timeouts endpoint

This commit is contained in:
Linus Groh 2022-10-19 18:07:30 +02:00
parent 5c32eacac9
commit 0064d2e8c8
6 changed files with 85 additions and 0 deletions

View file

@ -40,6 +40,7 @@ public:
ErrorOr<void> start();
ErrorOr<void> stop();
JsonObject get_timeouts();
ErrorOr<JsonValue, HttpError> set_timeouts(JsonValue const& payload);
ErrorOr<JsonValue, HttpError> navigate_to(JsonValue const& url);
ErrorOr<JsonValue, HttpError> get_current_url();
ErrorOr<JsonValue, HttpError> back();