From 90ecce179cc44aca461ccbf52ff993bcf9cac22e Mon Sep 17 00:00:00 2001 From: Tim Brust Date: Wed, 21 Jun 2017 00:08:08 +0200 Subject: [PATCH] feat(webdriverio): update typings to v4.8, deprecate buttonUp --- types/webdriverio/index.d.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/types/webdriverio/index.d.ts b/types/webdriverio/index.d.ts index 666da7f5bf..755b9f26b9 100644 --- a/types/webdriverio/index.d.ts +++ b/types/webdriverio/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for WebdriverIO 4.7 +// Type definitions for WebdriverIO 4.8 // Project: http://www.webdriver.io/ // Definitions by: Nick Malaguti // Tim Brust @@ -1022,7 +1022,10 @@ declare namespace WebdriverIO { /** @deprecated in favour of Actions.pointerDown */ buttonPress

(button?: string | Button): Client

; + /** @deprecated in favour of Actions.pointerUp */ buttonUp(button?: string | Button): Client> & RawResult; + + /** @deprecated in favour of Actions.pointerUp */ buttonUp

(button?: string | Button): Client

; cookie(): Client> & RawResult;