class Capybara::Window

The {Window} class represents a browser window.

You can get an instance of the class by calling any of:

Note that some drivers (e.g. Selenium) support getting size of/resizing/closing only current window. So if you invoke such method for: