Skip to content

Commit

Permalink
fix: Session to window
Browse files Browse the repository at this point in the history
  • Loading branch information
Squidonomics committed Feb 21, 2024
1 parent 0d52495 commit 67fd6c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/WebDriver/Window.swift
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,6 @@ public struct Window {

/// Maximize specific window if :windowHandle is "current" the current window will be maximized
public func maximize() throws {
try webDriver.send(Requests.SessionMaximize(session: session.id, windowHandle: handle))
try webDriver.send(Requests.WindowMaximize(session: session.id, windowHandle: handle))
}
}

0 comments on commit 67fd6c2

Please sign in to comment.