selenium-webdriver 4.13.0 → 4.14.0

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: 450f23e323427314096b116a5ab78eb32015b00dc5c56d237b2752b87d04c36e
4
- data.tar.gz: a65e8ab198e7c2a0e67a553700a24647e6b2e9d84868a845f3b5074991efa1b2
3
+ metadata.gz: dc5fa0275bc4e0f7675b6579bb652cb2efc20bc47797407a3c1da5cd3ac61959
4
+ data.tar.gz: 35d845b2fab6603c02c7c6d56f8b2e2e21aa956ed1fcbe01adc0ec0e1b4627d6
5
5
  SHA512:
6
- metadata.gz: a6e1db6add8c3791a107fc670e82f54350afbd79a7fa238ab140d5881a59347b2dfe3f3512bfb16476bbf0b7c419088350a5b357067b1ef2c9efb5a5be2890c6
7
- data.tar.gz: d96ba24461b579290ca5e02bbb27013557fba5bcba84fd9efa0c7b75e497b6f71b24641ae88bea49ffb1ad9721dedfe12fb7b2f1864a67c4c44761dc1c94f34e
6
+ metadata.gz: 61ce01ca9e41da013f55b0a970f3c4fe68e496132fd3f70c7a4770e1874dfdbc3a0102e530cbc01e9e4cfc4dd02614eee6120366471e2e07da9cb0d097222e78
7
+ data.tar.gz: 00ebdefe7adc44e8d535a6ab2099ea6233d6a2d9d5c2960a93ac001c34657a7860857e3387c3c93053f034bcccda4dc8120325c105c16bd0ba7151acb8e1211e
data/CHANGES CHANGED
@@ -1,3 +1,16 @@
1
+ 4.14.0 (Unreleased)
2
+ =========================
3
+ Ruby:
4
+ * allow users to access the full script of the atom directly
5
+
6
+ BiDi:
7
+ * Released selenium-devtools 0.118.0 (supports CDP v85, v116, v117, v118)
8
+
9
+ 4.13.1 (2023-09-25)
10
+ =========================
11
+ Ruby:
12
+ * Fix bug preventing logging chromedriver to file
13
+
1
14
  4.13.0 (2023-09-25)
2
15
  =========================
3
16
  Ruby:
Binary file
Binary file
Binary file
@@ -20,6 +20,11 @@
20
20
  module Selenium
21
21
  module WebDriver
22
22
  module Atoms
23
+ def atom_script(function_name)
24
+ format("/* #{function_name} */return (%<atom>s).apply(null, arguments)",
25
+ atom: read_atom(function_name))
26
+ end
27
+
23
28
  private
24
29
 
25
30
  def read_atom(function)
@@ -27,9 +32,7 @@ module Selenium
27
32
  end
28
33
 
29
34
  def execute_atom(function_name, *arguments)
30
- script = format("/* #{function_name} */return (%<atom>s).apply(null, arguments)",
31
- atom: read_atom(function_name))
32
- execute_script(script, *arguments)
35
+ execute_script(atom_script(function_name), *arguments)
33
36
  end
34
37
  end # Atoms
35
38
  end # WebDriver
@@ -28,7 +28,7 @@ module Selenium
28
28
  def log
29
29
  return @log unless @log.is_a? String
30
30
 
31
- @args += ['--log-path', @log]
31
+ @args << "--log-path=#{@log}"
32
32
  @log = nil
33
33
  end
34
34
  end # Service
@@ -28,7 +28,7 @@ module Selenium
28
28
  def log
29
29
  return @log unless @log.is_a? String
30
30
 
31
- @args += ['--log-path', @log]
31
+ @args << "--log-path=#{@log}"
32
32
  @log = nil
33
33
  end
34
34
  end # Service
@@ -19,6 +19,6 @@
19
19
 
20
20
  module Selenium
21
21
  module WebDriver
22
- VERSION = '4.13.0'
22
+ VERSION = '4.14.0'
23
23
  end # WebDriver
24
24
  end # Selenium
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: selenium-webdriver
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.13.0
4
+ version: 4.14.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex Rodionov
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2023-09-25 00:00:00.000000000 Z
13
+ date: 2023-10-10 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rexml