puppeteer-bidi 0.0.1.beta7 → 0.0.1.beta9

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e7480a32478fec623189e0a750ad6fb1d7fde835a121acaaa53e49e095eb81dd
4
- data.tar.gz: 4c1c038380e11a649701e77ef291ab0bd43e1c454f32281319bd8186c417b5fb
3
+ metadata.gz: edd194659eaec6868546e49ad1536020e2038a24f67a93ed9e001ea6eaeaa2d1
4
+ data.tar.gz: c3953c37832af8ed0d5bba54d874d8ac11e7aeae1dd4ce3def5351ce4b0bcac0
5
5
  SHA512:
6
- metadata.gz: a23ae00a2f886f8671fe1b6ae09321388eac452e68484d72d2d4883fd1253b4921733146d4375eaf2445dbb3dcbd4be5a04d851991d22f127f66811d1063ddbe
7
- data.tar.gz: fa5991c7a1400ac198c00d8f34a9966b3687f48cf9c1baefc7a973e5ae1ca7df147933e4b0c9d18ee528da584f80331aa6e25e703486014db55849193921280e
6
+ metadata.gz: 4cf895f21941069d8734ed19cea9e74d337741788cef5077fbcafa3ead9d48863c49004d6979f4433646422902893aa91c79ca7c304431686c2bda040e034b26
7
+ data.tar.gz: 5006742e6f06dc708ae506ed4489a107d34981e29d14de71568f8a9d0ed0411c1f2e29de2b0fd8c039d81b5369895db3a0705b331b125e4f2fb6f5c7c4dabdb4
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Puppeteer
4
4
  module Bidi
5
- VERSION = "0.0.1.beta7"
5
+ VERSION = "0.0.1.beta9"
6
6
  end
7
7
  end
@@ -33,13 +33,15 @@ require "puppeteer/bidi/browser"
33
33
  module Puppeteer
34
34
  module Bidi
35
35
  # Launch a new browser instance
36
+ #
36
37
  # @rbs executable_path: String? -- Path to browser executable
37
38
  # @rbs user_data_dir: String? -- Path to user data directory
38
- # @rbs headless: bool -- Run browser in headless mode
39
+ # @rbs headless: bool? -- Run browser in headless mode
39
40
  # @rbs args: Array[String]? -- Additional browser arguments
40
41
  # @rbs timeout: Numeric? -- Launch timeout in seconds
41
- # @rbs &block: ?(Browser) -> untyped -- Optional block to execute with the browser instance
42
- # @rbs return: Browser? -- Browser instance (if no block given)
42
+ #
43
+ #: (executable_path: String? , user_data_dir: String? , headless: bool , args: Array[String]? , timeout: Numeric?) -> Browser
44
+ #: (executable_path: String? , user_data_dir: String? , headless: bool , args: Array[String]? , timeout: Numeric?) { (Browser) -> untyped } -> untyped
43
45
  def self.launch(executable_path: nil, user_data_dir: nil, headless: true, args: nil, timeout: nil, &block)
44
46
  if block
45
47
  Sync do
@@ -3,14 +3,17 @@
3
3
  module Puppeteer
4
4
  module Bidi
5
5
  # Launch a new browser instance
6
+ #
6
7
  # @rbs executable_path: String? -- Path to browser executable
7
8
  # @rbs user_data_dir: String? -- Path to user data directory
8
- # @rbs headless: bool -- Run browser in headless mode
9
+ # @rbs headless: bool? -- Run browser in headless mode
9
10
  # @rbs args: Array[String]? -- Additional browser arguments
10
11
  # @rbs timeout: Numeric? -- Launch timeout in seconds
11
- # @rbs &block: ?(Browser) -> untyped -- Optional block to execute with the browser instance
12
- # @rbs return: Browser? -- Browser instance (if no block given)
13
- def self.launch: (?executable_path: String?, ?user_data_dir: String?, ?headless: bool, ?args: Array[String]?, ?timeout: Numeric?) ?{ (Browser) -> untyped } -> Browser?
12
+ #
13
+ # : (executable_path: String? , user_data_dir: String? , headless: bool , args: Array[String]? , timeout: Numeric?) -> Browser
14
+ # : (executable_path: String? , user_data_dir: String? , headless: bool , args: Array[String]? , timeout: Numeric?) { (Browser) -> untyped } -> untyped
15
+ def self.launch: (executable_path: String?, user_data_dir: String?, headless: bool, args: Array[String]?, timeout: Numeric?) -> Browser
16
+ | (executable_path: String?, user_data_dir: String?, headless: bool, args: Array[String]?, timeout: Numeric?) { (Browser) -> untyped } -> untyped
14
17
 
15
18
  # Connect to an existing browser instance
16
19
  # @rbs ws_endpoint: String -- WebSocket endpoint URL
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: puppeteer-bidi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1.beta7
4
+ version: 0.0.1.beta9
5
5
  platform: ruby
6
6
  authors:
7
7
  - YusukeIwaki