mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 09:18:11 +00:00
WebDriver: Implement DELETE /session/{id}/cookie
endpoint
This commit is contained in:
parent
c710780852
commit
0d6dc2492d
4 changed files with 51 additions and 0 deletions
|
@ -42,8 +42,11 @@ public:
|
|||
ErrorOr<JsonValue, HttpError> forward();
|
||||
ErrorOr<JsonValue, HttpError> get_all_cookies();
|
||||
ErrorOr<JsonValue, HttpError> get_named_cookie(String const& name);
|
||||
ErrorOr<JsonValue, HttpError> delete_all_cookies();
|
||||
|
||||
private:
|
||||
void delete_cookies(Optional<StringView> const& name = {});
|
||||
|
||||
NonnullRefPtr<Client> m_client;
|
||||
bool m_started { false };
|
||||
unsigned m_id { 0 };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue