diff --git a/Userland/Libraries/LibWeb/HTML/BrowsingContext.h b/Userland/Libraries/LibWeb/HTML/BrowsingContext.h
index a8faa334de1..bdb6fe725f0 100644
--- a/Userland/Libraries/LibWeb/HTML/BrowsingContext.h
+++ b/Userland/Libraries/LibWeb/HTML/BrowsingContext.h
@@ -267,6 +267,8 @@ public:
Optional const& creator_url() const { return m_creator_url; }
+ String const& window_handle() const { return m_window_handle; }
+
private:
explicit BrowsingContext(Page&, HTML::BrowsingContextContainer*);
@@ -302,6 +304,9 @@ private:
CSSPixelSize m_size;
CSSPixelPoint m_viewport_scroll_offset;
+ // https://w3c.github.io/webdriver/#dfn-window-handles
+ String m_window_handle;
+
// https://html.spec.whatwg.org/multipage/browsers.html#browsing-context
JS::GCPtr m_window_proxy;