1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 23:17:46 +00:00

Browser+WebContent+WebDriver: Move Delete All Cookies to WebContent

This commit is contained in:
Timothy Flynn 2022-11-11 11:27:08 -05:00 committed by Linus Groh
parent b7f21bb92e
commit ff6055e0a3
9 changed files with 18 additions and 69 deletions

View file

@ -58,12 +58,9 @@ public:
Web::WebDriver::Response get_window_handle();
ErrorOr<void, Variant<Web::WebDriver::Error, Error>> close_window();
Web::WebDriver::Response get_window_handles() const;
Web::WebDriver::Response delete_all_cookies();
Web::WebDriver::Response take_element_screenshot(StringView element_id);
private:
void delete_cookies(Optional<StringView> const& name = {});
enum class ServerType {
Browser,
WebContent,