Skip to content

Commit a8bdb37

Browse files
committed
Revert change made by a silly mistake
5b378c mistakenly removed this argument
1 parent 6376733 commit a8bdb37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rb/spec/integration/selenium/webdriver/window_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ module WebDriver
3939
target_width = size.width - 20
4040
target_height = size.height - 20
4141

42-
window.size = Dimension.new(target_height)
42+
window.size = Dimension.new(target_width, target_height)
4343

4444
new_size = window.size
4545
expect(new_size.width).to eq(target_width)

0 commit comments

Comments
 (0)