appium_lib 9.3.7 → 9.3.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -4,6 +4,9 @@
4
4
  - [WebDriverAgent](https://github.com/facebook/WebDriverAgent)
5
5
  - How to migrate XCUITest from UIAutomation
6
6
  - [Migrating your iOS tests from UIAutomation](https://github.com/appium/appium/blob/v1.6.2/docs/en/advanced-concepts/migrating-to-xcuitest.md)
7
+ - Mobile gestures for XCUITest
8
+ - [ios-xctest-mobile-gestures](https://github.com/appium/appium/blob/master/docs/en/writing-running-appium/ios-xctest-mobile-gestures.md)
9
+ - Required Appium1.6.4+
7
10
 
8
11
  ## find elements
9
12
  - supported elements by find_element are:
@@ -1,5 +1,5 @@
1
1
  module Appium
2
2
  # Version and Date are defined on the 'Appium' module, not 'Appium::Common'
3
- VERSION = '9.3.7'.freeze unless defined? ::Appium::VERSION
4
- DATE = '2017-04-09'.freeze unless defined? ::Appium::DATE
3
+ VERSION = '9.3.8'.freeze unless defined? ::Appium::VERSION
4
+ DATE = '2017-04-13'.freeze unless defined? ::Appium::DATE
5
5
  end
@@ -476,7 +476,9 @@ module Appium
476
476
  # If the Appium server is under REQUIRED_VERSION_XCUITEST, then error is raised.
477
477
  # @return [Boolean]
478
478
  def check_server_version_xcuitest
479
- if automation_name_is_xcuitest? && (@appium_server_status['build']['version'] < REQUIRED_VERSION_XCUITEST)
479
+ if automation_name_is_xcuitest? &&
480
+ !@appium_server_status.empty? &&
481
+ (@appium_server_status['build']['version'] < REQUIRED_VERSION_XCUITEST)
480
482
  raise Appium::Error::NotSupportedAppiumServer, "XCUITest requires Appium version >= #{REQUIRED_VERSION_XCUITEST}"
481
483
  end
482
484
  true
@@ -496,6 +498,10 @@ module Appium
496
498
  # @return [Hash]
497
499
  def appium_server_version
498
500
  driver.remote_status
501
+ rescue Selenium::WebDriver::Error::WebDriverError => ex
502
+ raise unless ex.message.include?('content-type=""')
503
+ # server (TestObject for instance) does not respond to status call
504
+ {}
499
505
  end
500
506
 
501
507
  # Returns the client's version info
@@ -1,3 +1,12 @@
1
+ #### v9.3.7 2017-04-09
2
+
3
+ - [8daf6f7](https://github.com/appium/ruby_lib/commit/8daf6f773c9b8acd7a89e2a9225fd834de5b4e2e) Release 9 3 7 (#535)
4
+ - [893c714](https://github.com/appium/ruby_lib/commit/893c714f4b60985753950f74e9e4b3bfb5f066eb) Remove appium suffix from find element (#532)
5
+ - [61ee15c](https://github.com/appium/ruby_lib/commit/61ee15c58ec536db1c32f8e278f8214148c96552) Update docs for find_element/s (#531)
6
+ - [17d17e6](https://github.com/appium/ruby_lib/commit/17d17e65a52cc22d093f913084673cb3a33b450c) fix markup (#526)
7
+ - [9de862c](https://github.com/appium/ruby_lib/commit/9de862ca6440e8a2e864b7b342725ac7699c096b) fix the android doc markup (#525)
8
+
9
+
1
10
  #### v9.3.6 2017-03-31
2
11
 
3
12
  - [0f1e3aa](https://github.com/appium/ruby_lib/commit/0f1e3aa48ce2d561af0a5897ab62017306009d8b) Release 9 3 6 (#523)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: appium_lib
3
3
  version: !ruby/object:Gem::Version
4
- version: 9.3.7
4
+ version: 9.3.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - code@bootstraponline.com
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-04-09 00:00:00.000000000 Z
11
+ date: 2017-04-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: selenium-webdriver