appium_lib 12.2.1 → 12.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/docs/android_docs.md +205 -205
- data/docs/ios_docs.md +243 -243
- data/lib/appium_lib/driver.rb +10 -1
- data/lib/appium_lib/version.rb +2 -2
- data/release_notes.md +6 -0
- metadata +2 -2
data/lib/appium_lib/driver.rb
CHANGED
@@ -459,6 +459,9 @@ module Appium
|
|
459
459
|
# @return [void]
|
460
460
|
def driver_quit
|
461
461
|
@driver&.quit
|
462
|
+
@driver = nil
|
463
|
+
rescue Selenium::WebDriver::Error::WebDriverError
|
464
|
+
nil
|
462
465
|
end
|
463
466
|
alias quit_driver driver_quit
|
464
467
|
|
@@ -521,7 +524,13 @@ module Appium
|
|
521
524
|
# @return [Selenium::WebDriver] the new global driver
|
522
525
|
def start_driver(http_client_ops =
|
523
526
|
{ http_client: ::Appium::Http::Default.new, open_timeout: 999_999, read_timeout: 999_999 })
|
524
|
-
|
527
|
+
|
528
|
+
# TODO: do not kill the previous session in the future version.
|
529
|
+
if $driver.nil?
|
530
|
+
driver_quit
|
531
|
+
else
|
532
|
+
$driver.driver_quit
|
533
|
+
end
|
525
534
|
|
526
535
|
# If automationName is set only in server side, then the following automation_name should be nil before
|
527
536
|
# starting driver.
|
data/lib/appium_lib/version.rb
CHANGED
@@ -14,6 +14,6 @@
|
|
14
14
|
|
15
15
|
module Appium
|
16
16
|
# Version and Date are defined on the 'Appium' module, not 'Appium::Common'
|
17
|
-
VERSION = '12.2.
|
18
|
-
DATE = '2023-04-
|
17
|
+
VERSION = '12.2.2' unless defined? ::Appium::VERSION
|
18
|
+
DATE = '2023-04-27' unless defined? ::Appium::DATE
|
19
19
|
end
|
data/release_notes.md
CHANGED
@@ -1,3 +1,9 @@
|
|
1
|
+
#### v12.2.2 2023-04-27
|
2
|
+
|
3
|
+
- [2f3ac2d](https://github.com/appium/ruby_lib/commit/2f3ac2df0e770e033076429059f5b96dde0565b5) Release 12.2.2
|
4
|
+
- [aba17f0](https://github.com/appium/ruby_lib/commit/aba17f0ba8d91e070ad37ad6e1cf2dde60da3ef9) fix: tune quit in start_driver to not raise an exception there (#985)
|
5
|
+
|
6
|
+
|
1
7
|
#### v12.2.1 2023-04-24
|
2
8
|
|
3
9
|
- [8e93297](https://github.com/appium/ruby_lib/commit/8e932971b216be735290757d1885498e8d57347f) Release 12.2.1
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: appium_lib
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 12.2.
|
4
|
+
version: 12.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- code@bootstraponline.com
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2023-04-
|
12
|
+
date: 2023-04-27 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: appium_lib_core
|