I am working on Ruby On Rails integration test using capybara, Selenium.
How to set testing Browser Window Height and Width?
I searched, but nothing worked well for me.
I tried the following code.
page.execute_script('$(window).width(1200)')
Can anyone help with this?