Skip to content

Commit 0a2c63f

Browse files
Augustin GottliebAugustin Gottlieb
authored andcommitted
symbols updated in window class
1 parent e554ac9 commit 0a2c63f

File tree

1 file changed

+4
-4
lines changed
  • rb/lib/selenium/webdriver/bidi/browser

1 file changed

+4
-4
lines changed

rb/lib/selenium/webdriver/bidi/browser/window.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,19 +49,19 @@ def set_state(state:, width: nil, height: nil, x: nil, y: nil)
4949
end
5050

5151
def maximize
52-
set_state(state: 'maximized')
52+
set_state(state: :maximized)
5353
end
5454

5555
def minimize
56-
set_state(state: 'minimized')
56+
set_state(state: :minimized)
5757
end
5858

5959
def fullscreen
60-
set_state(state: 'fullscreen')
60+
set_state(state: :fullscreen)
6161
end
6262

6363
def resize(width:, height:, x: nil, y: nil)
64-
set_state(state: 'normal', width: width, height: height, x: x, y: y)
64+
set_state(state: :normal, width: width, height: height, x: x, y: y)
6565
end
6666

6767
private

0 commit comments

Comments
 (0)