Skip to content

Commit 32d07d8

Browse files
committed
Generate selenium-devtools for CDP v90 and v91
1 parent ac54d13 commit 32d07d8

File tree

1 file changed

+35
-1
lines changed

1 file changed

+35
-1
lines changed

rb/build.desc

+35-1
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,9 @@ ruby_library(name = "devtools",
346346
deps = [
347347
":cdp-v85",
348348
":cdp-v88",
349-
":cdp-v89"
349+
":cdp-v89",
350+
":cdp-v90",
351+
":cdp-v91"
350352
]
351353
)
352354

@@ -398,6 +400,38 @@ ruby_class_call(name = "cdp-v89",
398400
]
399401
)
400402

403+
ruby_class_call(name = "cdp-v90",
404+
klass = "Selenium::WebDriver::Support::CDPClientGenerator",
405+
require = "rb/lib/selenium/webdriver/support/cdp_client_generator",
406+
output_dir = "rb/lib/selenium/devtools",
407+
version = "v90",
408+
srcs = [
409+
"lib/selenium/webdriver/support/cdp",
410+
"lib/selenium/webdriver/support/cdp/**/*",
411+
"lib/selenium/webdriver/support/cdp_client_generator.rb"
412+
],
413+
resources = [
414+
{ "//common/devtools/chromium/v90:browser_protocol": "rb/lib/selenium/webdriver/support/cdp/browser_protocol.json" },
415+
{ "//common/devtools/chromium/v90:js_protocol": "rb/lib/selenium/webdriver/support/cdp/js_protocol.json" }
416+
]
417+
)
418+
419+
ruby_class_call(name = "cdp-v91",
420+
klass = "Selenium::WebDriver::Support::CDPClientGenerator",
421+
require = "rb/lib/selenium/webdriver/support/cdp_client_generator",
422+
output_dir = "rb/lib/selenium/devtools",
423+
version = "v91",
424+
srcs = [
425+
"lib/selenium/webdriver/support/cdp",
426+
"lib/selenium/webdriver/support/cdp/**/*",
427+
"lib/selenium/webdriver/support/cdp_client_generator.rb"
428+
],
429+
resources = [
430+
{ "//common/devtools/chromium/v91:browser_protocol": "rb/lib/selenium/webdriver/support/cdp/browser_protocol.json" },
431+
{ "//common/devtools/chromium/v91:js_protocol": "rb/lib/selenium/webdriver/support/cdp/js_protocol.json" }
432+
]
433+
)
434+
401435
ruby_lint(name = "lint",
402436
args = ["--config=rb/.rubocop.yml"],
403437
srcs = [

0 commit comments

Comments
 (0)