Skip to content

Commit

Permalink
Syntax fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tristanlabelle authored Feb 26, 2024
1 parent dff6c50 commit 6e4d82b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/WebDriver/Session.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6e4d82b

Please sign in to comment.