diff --git a/Sources/WebDriver/Session.swift b/Sources/WebDriver/Session.swift index d9284af..3144b87 100644 --- a/Sources/WebDriver/Session.swift +++ b/Sources/WebDriver/Session.swift @@ -336,7 +336,7 @@ public class Session { } /// - Returns: Array of window handles - public func windowHandles: [String] { + public var windowHandles: [String] { get throws { let response = try webDriver.send(Requests.SessionWindowHandles(session: id)) return response.value