puppeteer-bidi 0.0.1.beta6 → 0.0.1.beta7
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/lib/puppeteer/bidi/version.rb +1 -1
- data/lib/puppeteer/bidi.rb +1 -1
- data/sig/puppeteer/bidi.rbs +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e7480a32478fec623189e0a750ad6fb1d7fde835a121acaaa53e49e095eb81dd
|
|
4
|
+
data.tar.gz: 4c1c038380e11a649701e77ef291ab0bd43e1c454f32281319bd8186c417b5fb
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a23ae00a2f886f8671fe1b6ae09321388eac452e68484d72d2d4883fd1253b4921733146d4375eaf2445dbb3dcbd4be5a04d851991d22f127f66811d1063ddbe
|
|
7
|
+
data.tar.gz: fa5991c7a1400ac198c00d8f34a9966b3687f48cf9c1baefc7a973e5ae1ca7df147933e4b0c9d18ee528da584f80331aa6e25e703486014db55849193921280e
|
data/lib/puppeteer/bidi.rb
CHANGED
|
@@ -38,7 +38,7 @@ module Puppeteer
|
|
|
38
38
|
# @rbs headless: bool -- Run browser in headless mode
|
|
39
39
|
# @rbs args: Array[String]? -- Additional browser arguments
|
|
40
40
|
# @rbs timeout: Numeric? -- Launch timeout in seconds
|
|
41
|
-
# @rbs &block: (Browser ->
|
|
41
|
+
# @rbs &block: ?(Browser) -> untyped -- Optional block to execute with the browser instance
|
|
42
42
|
# @rbs return: Browser? -- Browser instance (if no block given)
|
|
43
43
|
def self.launch(executable_path: nil, user_data_dir: nil, headless: true, args: nil, timeout: nil, &block)
|
|
44
44
|
if block
|
data/sig/puppeteer/bidi.rbs
CHANGED
|
@@ -8,9 +8,9 @@ module Puppeteer
|
|
|
8
8
|
# @rbs headless: bool -- Run browser in headless mode
|
|
9
9
|
# @rbs args: Array[String]? -- Additional browser arguments
|
|
10
10
|
# @rbs timeout: Numeric? -- Launch timeout in seconds
|
|
11
|
-
# @rbs &block: (Browser ->
|
|
11
|
+
# @rbs &block: ?(Browser) -> untyped -- Optional block to execute with the browser instance
|
|
12
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?) ?{ (
|
|
13
|
+
def self.launch: (?executable_path: String?, ?user_data_dir: String?, ?headless: bool, ?args: Array[String]?, ?timeout: Numeric?) ?{ (Browser) -> untyped } -> Browser?
|
|
14
14
|
|
|
15
15
|
# Connect to an existing browser instance
|
|
16
16
|
# @rbs ws_endpoint: String -- WebSocket endpoint URL
|