Skip to content
This repository was archived by the owner on Jul 29, 2024. It is now read-only.

Commit d22f3c3

Browse files
committed
chore(typescript): convert locators.js to locators.ts
1 parent 47f54ad commit d22f3c3

File tree

3 files changed

+465
-456
lines changed

3 files changed

+465
-456
lines changed

lib/globals.d.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ declare var DartObject: any;
2525

2626
declare namespace webdriver {
2727
class WebDriver {
28+
findElements: Function;
2829
getSession: Function;
2930
quit: Function;
3031
static attachToSession: Function;
@@ -45,4 +46,8 @@ declare namespace webdriver {
4546
isEnabled: Function;
4647
findElements: Function;
4748
}
49+
50+
interface Locator {
51+
toString(): string;
52+
}
4853
}

0 commit comments

Comments
 (0)