From 88e7acb05a70d4280b9ac2f1330868d834e0b8f8 Mon Sep 17 00:00:00 2001 From: Muhammad Awais Ali Date: Wed, 2 Sep 2020 03:48:30 +0500 Subject: [PATCH] fix(element): Remove ElementFinder.then --- lib/element.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/element.ts b/lib/element.ts index 151553478..224302a09 100644 --- a/lib/element.ts +++ b/lib/element.ts @@ -816,9 +816,6 @@ export class ElementArrayFinder extends WebdriverWebElement { export class ElementFinder extends WebdriverWebElement { parentElementArrayFinder: ElementArrayFinder; elementArrayFinder_: ElementArrayFinder; - then?: - (fn: (value: any) => any | wdpromise.IThenable, - errorFn?: (error: any) => any) => wdpromise.Promise = null; constructor(public browser_: ProtractorBrowser, elementArrayFinder: ElementArrayFinder) { super();