1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 14:37:45 +00:00

WebDriver: Implement DELETE /session/{id}/cookie/{name} endpoint

This commit is contained in:
Tobias Christiansen 2022-10-16 19:55:47 +02:00 committed by Linus Groh
parent 0d6dc2492d
commit fefe447cf5
4 changed files with 31 additions and 0 deletions

View file

@ -42,6 +42,7 @@ public:
ErrorOr<JsonValue, HttpError> forward();
ErrorOr<JsonValue, HttpError> get_all_cookies();
ErrorOr<JsonValue, HttpError> get_named_cookie(String const& name);
ErrorOr<JsonValue, HttpError> delete_cookie(StringView const& name);
ErrorOr<JsonValue, HttpError> delete_all_cookies();
private: