We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6376733 commit a8bdb37Copy full SHA for a8bdb37
rb/spec/integration/selenium/webdriver/window_spec.rb
@@ -39,7 +39,7 @@ module WebDriver
39
target_width = size.width - 20
40
target_height = size.height - 20
41
42
- window.size = Dimension.new(target_height)
+ window.size = Dimension.new(target_width, target_height)
43
44
new_size = window.size
45
expect(new_size.width).to eq(target_width)
0 commit comments