Skip to content

Commit 30dd316

Browse files
committed
Add missing methods
1 parent 1b64798 commit 30dd316

File tree

5 files changed

+32
-0
lines changed

5 files changed

+32
-0
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,22 @@
11
module Selenium
22
module WebDriver
33
class DriverFinder
4+
@options: untyped
5+
6+
@paths: untyped
7+
@service: untyped
8+
49
def self.path: (untyped options, untyped klass) -> untyped
10+
11+
def browser_path: -> untyped
12+
13+
def browser_path?: -> untyped
14+
15+
def driver_path: -> untyped
16+
17+
private
18+
19+
def paths: -> untyped
520
end
621
end
722
end

rb/sig/lib/selenium/webdriver/common/search_context.rbs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ module Selenium
55

66
FINDERS: untyped
77

8+
attr_accessor self.extra_finders: untyped
9+
10+
def self.finders: -> untyped
11+
812
def find_element: (*untyped args) -> untyped
913

1014
def find_elements: (*untyped args) -> untyped

rb/sig/lib/selenium/webdriver/common/service.rbs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ module Selenium
5353

5454
def initialize: (?path: untyped?, ?port: untyped?, ?log: untyped?, ?args: untyped?) -> void
5555

56+
def find_driver_path: -> untyped
57+
5658
def launch: () -> untyped
5759

5860
def shutdown_supported: () -> untyped

rb/sig/lib/selenium/webdriver/remote/http/common.rbs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,14 @@ module Selenium
99

1010
DEFAULT_HEADERS: Hash[String, untyped]
1111

12+
@common_headers: untyped
13+
14+
attr_accessor self.extra_headers: untyped
15+
16+
attr_writer self.user_agent: untyped
17+
18+
def self.user_agent: -> untyped
19+
1220
attr_writer server_url: untyped
1321

1422
def quit_errors: () -> Array[untyped]
@@ -19,6 +27,8 @@ module Selenium
1927

2028
private
2129

30+
def common_headers: -> untyped
31+
2232
def server_url: () -> untyped
2333

2434
def request: (*untyped) -> untyped

rb/sig/lib/selenium/webdriver/support/guards/guard.rbs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ module Selenium
1515

1616
attr_reader guarded: untyped
1717

18+
attr_reader tracker: untyped
1819
attr_reader type: untyped
1920

2021
attr_reader messages: untyped

0 commit comments

Comments
 (0)