diff --git a/Userland/Services/WebDriver/Session.h b/Userland/Services/WebDriver/Session.h index 8819adad20..d973e937ec 100644 --- a/Userland/Services/WebDriver/Session.h +++ b/Userland/Services/WebDriver/Session.h @@ -33,7 +33,7 @@ public: HashMap>& get_window_handles() { return m_windows; } Optional get_window_object() { return m_windows.get(m_current_window_handle); } - String get_window() { return m_current_window_handle; } + String const& current_window_handle() { return m_current_window_handle; } ErrorOr start(); ErrorOr stop();