-
-
Notifications
You must be signed in to change notification settings - Fork 751
Closed
Description
1) Appium
"before all" hook in "Appium":
Can't connect to WebDriver.
Error: WebDriverError: 'automationName' can't be blank when running "http://ondemand.saucelabs.com/wd/hub/session" with method "POST" and args "{"capabilities":{"alwaysMatch":{"sauce:options":{"appiumVersion":"2.0.0"},"appium:browserName":"","appium:recordVideo":"false","appium:recordScreenshots":"false","platformName":"android","appium:platformVersion":"7.0","appium:deviceName":"Android GoogleAPI Emulator","appium:androidInstallTimeout":90000,"appium:appWaitDuration":300000,"appium:app":"storage:filename=selendroid-test-app-0.17.0.apk"},"firstMatch":[{}]}}"
Please make sure Selenium Server is running and accessible
Error: WebDriverError: 'automationName' can't be blank when running "http://ondemand.saucelabs.com/wd/hub/session" with method "POST" and args "{"capabilities":{"alwaysMatch":{"sauce:options":{"appiumVersion":"2.0.0"},"appium:browserName":"","appium:recordVideo":"false","appium:recordScreenshots":"false","platformName":"android","appium:platformVersion":"7.0","appium:deviceName":"Android GoogleAPI Emulator","appium:androidInstallTimeout":90000,"appium:appWaitDuration":300000,"appium:app":"storage:filename=selendroid-test-app-0.17.0.apk"},"firstMatch":[{}]}}"
at startWebDriverSession (file:///home/runner/work/CodeceptJS/CodeceptJS/node_modules/webdriver/build/node.js:1102:11)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async _WebDriver.newSession (file:///home/runner/work/CodeceptJS/CodeceptJS/node_modules/webdriver/build/node.js:1336:41)
at async remote (file:///home/runner/work/CodeceptJS/CodeceptJS/node_modules/webdriverio/build/node.js:8766:20)
at async Appium._startBrowser (lib/helper/Appium.js:324:24)
at async Context.<anonymous> (test/helper/Appium_test.js:48:5)
another issue
unknown method: WebDriverError: Method is not implemented when running "execute/sync" with method "POST" and args "function checkVisibility(elem, params) {
if (typeof elem.checkVisibility === "function") {
return elem.checkVisibility(params);
}
return null;
}"
at FetchRequest._request (file:///home/runner/work/CodeceptJS/CodeceptJS/node_modules/webdriver/build/node.js:1803:19)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Browser.wrapCommandFn (file:///home/runner/work/CodeceptJS/CodeceptJS/node_modules/webdriverio/node_modules/@wdio/utils/build/index.js:907:23)
at async Browser.wrapCommandFn (file:///home/runner/work/CodeceptJS/CodeceptJS/node_modules/webdriverio/node_modules/@wdio/utils/build/index.js:907:23)
at async Promise.all (index 0)
at async Element.isDisplayed (file:///home/runner/work/CodeceptJS/CodeceptJS/node_modules/webdriverio/build/node.js:6813:43)
at async Element.wrapCommandFn (file:///home/runner/work/CodeceptJS/CodeceptJS/node_modules/webdriverio/node_modules/@wdio/utils/build/index.js:907:23)
at async Element.elementErrorHandlerCallbackFn (file:///home/runner/work/CodeceptJS/CodeceptJS/node_modules/webdriverio/build/node.js:8388:24)
at async Element.wrapCommandFn (file:///home/runner/work/CodeceptJS/CodeceptJS/node_modules/webdriverio/node_modules/@wdio/utils/build/index.js:907:23)
at async forEachAsync (lib/helper/WebDriver.js:2768:17)
at async Appium.seeElement (lib/helper/WebDriver.js:1481:22)
at async Context.<anonymous> (test/helper/Appium_test.js:474:7)
Metadata
Metadata
Assignees
Labels
No labels