From bede076919554f49d1be7bd7ed0469149602e077 Mon Sep 17 00:00:00 2001 From: Ben Stoddard Date: Tue, 30 Oct 2018 13:30:55 -0700 Subject: [PATCH] TargetLocator.frame - Should accept null type. --- types/selenium-webdriver/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/selenium-webdriver/index.d.ts b/types/selenium-webdriver/index.d.ts index 4721033bfd..aa8a696576 100644 --- a/types/selenium-webdriver/index.d.ts +++ b/types/selenium-webdriver/index.d.ts @@ -3448,7 +3448,7 @@ export class TargetLocator { * @return {!promise.Promise} A promise that will be resolved * when the driver has changed focus to the specified frame. */ - frame(nameOrIndex: number | WebElement): promise.Promise; + frame(nameOrIndex: number | WebElement | null): promise.Promise; /** * Schedules a command to switch the focus of all future commands to another