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 c9e4dff commit ec5ec51Copy full SHA for ec5ec51
1 file changed
spec/browser_spec.rb
@@ -441,11 +441,11 @@ module Ferrum
441
JS
442
443
popup1, popup2 = browser.windows(:last, 2)
444
- popup1.resize(width: 100, height: 200)
445
- popup2.resize(width: 200, height: 100)
+ popup1&.resize(width: 100, height: 200)
+ popup2&.resize(width: 200, height: 100)
446
447
- expect(popup1.viewport_size).to eq([100, 200])
448
- expect(popup2.viewport_size).to eq([200, 100])
+ expect(popup1&.viewport_size).to eq([100, 200])
+ expect(popup2&.viewport_size).to eq([200, 100])
449
end
450
451
it "clears local storage after reset" do
0 commit comments