Double tap using appium javascript client (wd)

The documentation from wd says, ( )
// Not supported

// wd example
// Using tapElement method
await driver.tapElement(elementOne);

// Using touch actions
let action = new wd.TouchAction();
action.tap({el: element});
await action.perform();

Is there no method for double tapping an element using the javascript client? If there is a workaround for this problem?

Appium version (or git revision) that exhibits the issue: 1.9.0
Last Appium version that did not exhibit the issue (if applicable):
Desktop OS/version used to run Appium: MacOSX 10.13.6
Node.js version (unless using|exe):
Mobile platform/version under test: Android 8.0
Real device or emulator/simulator: Real device
Appium CLI or|exe: CLI

Actions action = new Actions(driver);

this one not working ?

I’ll try this and post the results. There seems to be no doubleTap though which is supported by other clients. Thanks

Hi @Bilal_Jarwan,

I tried the doubleClick() method. But looks like there is no such method. I get an error .

This is my method.

async doubleTapElement() {
        let action = new (<any>(this._driver.wd())).TouchAction(this._driver.driver);
        await action.perform(); 

This is the error message,TypeError: action.doubleClick is not a function

I also checked with action.doubleclick(); since the documentation says doubleclick() and not doubleClick(). But same error

your using JS for automation or JAVA ?