Contexts.h 598 B

1234567891011121314151617181920212223
  1. /*
  2. * Copyright (c) 2023, Linus Groh <linusg@serenityos.org>
  3. *
  4. * SPDX-License-Identifier: BSD-2-Clause
  5. */
  6. #pragma once
  7. #include <AK/Forward.h>
  8. #include <AK/StringView.h>
  9. #include <LibWeb/Forward.h>
  10. namespace Web::WebDriver {
  11. // https://w3c.github.io/webdriver/#dfn-web-window-identifier
  12. static constexpr auto WEB_WINDOW_IDENTIFIER = "window-fcc6-11e5-b4f8-330a88ab9d7f"sv;
  13. // https://w3c.github.io/webdriver/#dfn-web-frame-identifier
  14. static constexpr auto WEB_FRAME_IDENTIFIER = "frame-075b-4da1-b6ba-e579c2d3230a"sv;
  15. JsonObject window_proxy_reference_object(HTML::WindowProxy const&);
  16. }