/* * Copyright (c) 2023, Linus Groh * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include #include #include #include #include namespace Web::WebDriver { JsonObject window_proxy_reference_object(HTML::WindowProxy const&); bool represents_a_web_frame(JS::Value); ErrorOr, WebDriver::Error> deserialize_web_frame(JS::Object const&); bool represents_a_web_window(JS::Value); ErrorOr, WebDriver::Error> deserialize_web_window(JS::Object const&); ErrorOr ensure_browsing_context_is_open(GC::Ptr); }