From df75c3a73939bf019439364e2f61e55e93399d8c Mon Sep 17 00:00:00 2001 From: Augustin Gottlieb Pequeno <33221555+aguspe@users.noreply.github.com> Date: Tue, 9 Jul 2024 21:11:54 +0200 Subject: [PATCH] [rb] Update selenium manager types (#14189) Co-authored-by: aguspe --- .../webdriver/common/selenium_manager.rbs | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/rb/sig/lib/selenium/webdriver/common/selenium_manager.rbs b/rb/sig/lib/selenium/webdriver/common/selenium_manager.rbs index df526c798dbe0..f4f0c58f00d81 100644 --- a/rb/sig/lib/selenium/webdriver/common/selenium_manager.rbs +++ b/rb/sig/lib/selenium/webdriver/common/selenium_manager.rbs @@ -4,25 +4,27 @@ module Selenium include _Platform include Open3 - self.@bin_path: untyped + self.@bin_path: String - self.@binary: untyped + self.@binary: String - attr_writer self.bin_path: untyped + attr_writer self.bin_path: String - def self.bin_path: () -> untyped + def self.bin_path: () -> String - def self.driver_path: (untyped options) -> untyped + def self.binary_paths: (Array[String] arguments) -> Hash[untyped, Array[String]] private def self.generate_command: (untyped binary, untyped options) -> untyped - def self.binary: () -> untyped + def self.binary: () -> String def self.validate_location: (untyped location) -> untyped - def self.run: (*untyped command) -> untyped + def self.run: (String | Array[String] command) -> Hash[String, Array[String]] + + def self.platform_location: -> String end end end