Method: Appium::Driver#window_size
- Defined in:
- lib/appium_lib/driver.rb
#window_size ⇒ Selenium::WebDriver::Dimension
Get the device window’s size.
486 487 488 489 490 491 |
# File 'lib/appium_lib/driver.rb', line 486 def window_size # maybe exception is expected as no driver created raise NoDriverInstanceError if @driver.nil? @driver.window_size end |