Merge pull request #30147 from bcstodds/patch-1

TargetLocator.frame - Should accept null type.
This commit is contained in:
Armando Aguirre
2018-11-07 16:36:00 -08:00
committed by GitHub
+1 -1
View File
@@ -3448,7 +3448,7 @@ export class TargetLocator {
* @return {!promise.Promise<void>} A promise that will be resolved
* when the driver has changed focus to the specified frame.
*/
frame(nameOrIndex: number | WebElement): promise.Promise<void>;
frame(nameOrIndex: number | WebElement | null): promise.Promise<void>;
/**
* Schedules a command to switch the focus of all future commands to another