appium_lib_core 6.4.0 → 6.4.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3047299ce31d2eac69a3d62e52e2fa73ca02710e0f7c7d5d039e06e838822386
4
- data.tar.gz: 2776a7ddebb3cc71a0334559c663b351c1f5f4dde223b313d3b581b91b83b402
3
+ metadata.gz: 2f60b016a03d6fadb5190d0ef8a298b8f633fef145b0367499c40c6497480a82
4
+ data.tar.gz: 067c4d9cf59cf16afbff77fabe91d6626b952a66007229fad9387e84c1da029c
5
5
  SHA512:
6
- metadata.gz: cfd4ad06897b4402556701ff40bb3722f4c5b8dd3b4704577ba7790c28f6e329d5aab83abbdea906c309897b9c95f87d61f6845e7eb8ef4f569105a82d816164
7
- data.tar.gz: 6076c5d10ee6010eea91a78ff98aaa18187ef6c7c1519e024bba8b7207f4892311cea7ffcac0b081a5ebb39945d42eae46d1ca463fa581f6450d3e6b53f29731
6
+ metadata.gz: 2629972ee58778b8302a91635e4bb88b8f91028eafc3f228f5ca56b78e77579fc8a2ba125b6b702bfa8e71248e87bd2bd7061acd79d52e38c9d0dac25fa18930
7
+ data.tar.gz: 42907237d6adbd834160376907fa841f659500a53c5f35817707462a23e40f82eb17a358e916c56dcd7973cb91109edfd4f2980427cfeca65cf414e08f9c3f64
data/CHANGELOG.md CHANGED
@@ -10,6 +10,11 @@ Read `release_notes.md` for commit level details.
10
10
 
11
11
  ### Deprecations
12
12
 
13
+ ## [6.4.1] - 2023-05-13
14
+
15
+ ### Bug fixes
16
+ - Fixed `driver.execute_cdp` command error in a chrome session
17
+
13
18
  ## [6.4.0] - 2023-04-30
14
19
 
15
20
  ### Enhancements
@@ -302,6 +302,10 @@ module Appium
302
302
  # @driver.execute_cdp 'Page.captureScreenshot', quality: 50, format: 'jpeg'
303
303
  # @driver.execute_cdp 'Page.getResourceTree'
304
304
  #
305
+ # # for Ruby 2,7 and 3+ compatibility
306
+ # params = {'timezoneId': 'Asia/Tokyo'}
307
+ # driver.execute_cdp 'Emulation.setTimezoneOverride', **params
308
+ #
305
309
 
306
310
  ####
307
311
  ## class << self
@@ -357,6 +357,15 @@ module Appium
357
357
  execute :take_element_screenshot, id: element_id
358
358
  end
359
359
 
360
+ # for selenium-webdriver compatibility in chrome browser session.
361
+ # This may be needed in selenium-webdriver 4.8 or over? (around the version)
362
+ # when a session starts browserName: 'chrome' for bridge.
363
+ # This method is not only for Android, but also chrome desktop browser as well.
364
+ # So this bridge itself does not restrict the target module.
365
+ def send_command(command_params)
366
+ execute :chrome_send_command, {}, command_params
367
+ end
368
+
360
369
  private
361
370
 
362
371
  def unwrap_script_result(arg)
@@ -14,7 +14,7 @@
14
14
 
15
15
  module Appium
16
16
  module Core
17
- VERSION = '6.4.0' unless defined? ::Appium::Core::VERSION
18
- DATE = '2023-04-30' unless defined? ::Appium::Core::DATE
17
+ VERSION = '6.4.1' unless defined? ::Appium::Core::VERSION
18
+ DATE = '2023-05-13' unless defined? ::Appium::Core::DATE
19
19
  end
20
20
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: appium_lib_core
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.4.0
4
+ version: 6.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kazuaki MATSUO
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-04-30 00:00:00.000000000 Z
11
+ date: 2023-05-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: selenium-webdriver