I’ve been working with Appium for some days now and I was able to make it running for most of what I want to but I hit a wall when trying to use the driver.hideKeyboard();
and driver.touchScroll()
commands.
Maybe I’m missing something like a package with types or the right import, but when trying to use the driver
, I get an “Cannot find name ‘driver’”.
Thanks for any help in advance, going in circles here.
$ node -v
v10.15.3
$ appium -v
1.16.0
"devDependencies": {
"@types/chai": "^4.2.7",
"@types/cucumber": "^6.0.0",
"@types/node": "^13.1.4",
"@wdio/appium-service": "^5.18.2",
"@wdio/cli": "^5.18.4",
"@wdio/cucumber-framework": "^5.16.15",
"@wdio/local-runner": "^5.18.4",
"@wdio/spec-reporter": "^5.16.11",
"@wdio/sync": "^5.17.0",
"chai": "^4.2.0",
"ts-node": "^8.5.4",
"tsconfig-paths": "^3.9.0",
"typescript": "^3.7.4"
}