Sha256: 6517fb720fd546a509f266cf6f7bde8f417ce7e40101e2915ff45e83f4088e1b

Contents?: true

Size: 185 Bytes

Versions: 10

Compression:

Stored size: 185 Bytes

Contents

# encoding: utf-8
# UIAWindow methods

# Get the window's size
#
# window_size.width
#
# window_size.height
def window_size
  return nil if $driver.nil?
  $driver.manage.window.size
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
appium_lib-0.0.30 lib/appium_lib/element/window.rb
appium_lib-0.0.29 lib/appium_lib/element/window.rb
appium_lib-0.0.28 lib/appium_lib/element/window.rb
appium_lib-0.0.27 lib/appium_lib/element/window.rb
appium_lib-0.0.26 lib/appium_lib/element/window.rb
appium_lib-0.0.25 lib/appium_lib/element/window.rb
appium_lib-0.0.24 lib/appium_lib/element/window.rb
appium_lib-0.0.23 lib/appium_lib/element/window.rb
appium_lib-0.0.22 lib/appium_lib/element/window.rb
appium_lib-0.0.21 lib/appium_lib/element/window.rb