Closed ChristiaanScheermeijer closed 8 years ago
Fix published in appium-base-driver@2.0.4
. This can be manually installed, or it will be in Appium 1.5.4.
Thanks!
Hey , How to solve this issue ? How do I need to update appium-base-driver@2.0.4 so that my appium can use it ?
If you are using Appium from source, you can run:
rm -rf node_modules
npm install
If you are using Appium from npm
, you will need to re-install with the --no-shrinkwrap
option:
npm install -g appium --no-shrinkwrap
// or, installing locally
npm install appium --no-shrinkwrap
@imurchie
Hi, I was using npm to install so I run the command you gave, after that the old error is gone but I am getting something else on the same now.
Message: Failed: Method is not implemented Stack: WebDriverError: Method is not implemented at WebDriverError (/Users/snmohapatra/Snehasis/stores-ui-poc/build/opt/browser/www/node_modules/protractor/node_modules/selenium-webdriver/error.js:27:10)
Do you have any idea on this ?
After googling I found that it can relate with autoWebview: true , and after doing this the same error came back
Message:
Failed: An unknown server-side error occurred while processing the command. Original error: Url or Uri must start with
@imurchie Can You please help ?
I need more information in order to try to say anything. Can you post, in a [gist](https://gist.github.com], the entire Appium server logs?
Hi,
I think it got resolved by removing a slash (/) from the beforeEach statement. Before : (Not Working)
beforeEach(function () {
browser.get('/#/');
});
After: (Working)
beforeEach(function () {
browser.get('#/');
});
But Now the issue is there in the Andoird where it always says TimeOut. Android Setting :
{
platformName: 'android',
platformVersion: 'N',
deviceName: 'Default',
browserName: "",
autoWebview: true,
app: '/Users/snmohapatra/Snehasis/stores-ui-poc/build/opt/android/android-release.apk'
}
Please find the log file here . https://gist.github.com/snehasis/4d77e8619426b1d55430cca97e6a3452
Thanks
Hi
Am facing the below issue for iOS mobile app automation. If any one have some suggestions please let me know.
org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: Url or Uri must start with
@acdurai What is the uri? Can you provide more of the logs so we can see what is going on?
Hi @imurchie , please find below the capabilities and error log details.
DesiredCapabilities capabilities = new DesiredCapabilities();
capabilities.setCapability(CapabilityType.BROWSER_NAME, "");
capabilities.setCapability("platformVersion", "9.2");
capabilities.setCapability("platformName", "IOS");
capabilities.setCapability("app", "/Users/Desktop/Payload/testing.ipa");
capabilities.setCapability("deviceName", "iPhone 6S");
app = new IOSDriver<IOSElement>(new URL("http://127.0.0.1:4723/wd/hub"), capabilities);
The server log is what I need, not the client output, which differs from client to client.
Wherever you run the appium command, that output is the server logs. Please post them as a gist so as not to make things difficult here.
@imurchie
Please find the server log
Launching Appium with command: '/Applications/Appium.app/Contents/Resources/node/bin/node' appium/build/lib/main.js --address "127.0.0.1" --session-override --pre-launch --debug-log-spacing --platform-version "9.2" --platform-name "iOS" --app "/Users/chelladurai_a/Desktop/Payload/testing.ipa" --udid "0d22dd361f380079fca3e3d87qwwwd29d28cd55c0" --device-name "iPhone6s" --show-ios-log --log "/Users/chelladurai_a/Eclipse/workspace/Lando/omniture/serverLog/iosappium.log"
[Appium] Welcome to Appium v1.5.3
[Appium] Non-default server args:
[Appium] address: '127.0.0.1'
[Appium] sessionOverride: true [Appium] launch: true [Appium] log: '/Users/chelladurai_a/Eclipse/workspace/Lando/omniture/serverLog/iosappium.log' [Appium] debugLogSpacing: true [Appium] platformName: 'iOS' [Appium] platformVersion: '9.2' [Appium] deviceName: 'iPhone6s'
[Appium] app: '/Users/chelladurai_a/Desktop/Payload/testing.ipa' [Appium] udid: '0d22dd361f380079fca3e3d87qwwwd29d28cd55c0' [Appium] showIOSLog: true [Appium] Deprecated server args: [Appium] --platform-name => --default-capabilities '{"platformName":"iOS"}' [Appium] --platform-version => --default-capabilities '{"platformVersion":"9.2"}' [Appium] --device-name => --default-capabilities '{"deviceName":"iPhone6s"}'
[Appium] --app => --default-capabilities '{"app":"/Users/chelladurai_a/Desktop/Payload/testing.ipa"}' [Appium] -U,--udid => --default-capabilities '{"udid":"0d22dd361f380079fca3e3d87qwwwd29d28cd55c0"}' [Appium] --show-ios-log => --default-capabilities '{"showIOSLog":true}' [Appium] Default capabilities, which will be added to each request unless overridden by desired capabilities:
[Appium] platformName: 'iOS' [Appium] platformVersion: '9.2'
[Appium] deviceName: 'iPhone6s' [Appium] app: '/Users/chelladurai_a/Desktop/Payload/testing.ipa' [Appium] udid: '0d22dd361f380079fca3e3d87qwwwd29d28cd55c0' [Appium] showIOSLog: true
[Appium] Appium REST http interface listener started on 127.0.0.1:4723
[HTTP] --> GET /wd/hub/status {}
[MJSONWP] Calling AppiumDriver.getStatus() with args: []
[MJSONWP] Responding to client with driver.getStatus() result: {"build":{"version":"1.5.3"...
[HTTP] <-- GET /wd/hub/status 200 111 ms - 83
[HTTP] --> GET /wd/hub/status {}
[MJSONWP] Calling AppiumDriver.getStatus() with args: []
[MJSONWP] Responding to client with driver.getStatus() result: {"build":{"version":"1.5.3"...
[HTTP] <-- GET /wd/hub/status 200 102 ms - 83
[HTTP] --> POST /wd/hub/session {"desiredCapabilities":{"browserName":"","platformName":"iOS","deviceName":"iPhone 5","platformVersion":"7.1"}}
[MJSONWP] Calling AppiumDriver.createSession() with args: [{"browserName":"","platfor...
[Appium] Creating new IosDriver session [Appium] Capabilities: [Appium] browserName: '' [Appium] platformName: 'iOS' [Appium] deviceName: 'iPhone 5' [Appium] platformVersion: '7.1' [Appium] app: '/Users/chelladurai_a/Desktop/Payload/testing.ipa' [Appium] udid: '0d22dd361f380079fca3e3d87qwwwd29d28cd55c0' [Appium] showIOSLog: true [BaseDriver] Session created with session id: c5b34745-2b01-4f6d-a13e-043d62190fc8 [debug] [iOS] Not auto-detecting udid. [iOS] iOS version 7.1 support has been deprecated and will be removed in a future version of Appium. [BaseDriver] Using local app '/Users/chelladurai_a/Desktop/Payload/testing.ipa' [debug] [BaseDriver] Copying local zip to tmp dir
[debug] [BaseDriver] Unzipping /var/folders/fd/2svfncfn6l15xl407zdj6x0h0000gq/T/201686-4941-19zhovb/appium-app.zip
[debug] [BaseDriver] Testing zip archive: /var/folders/fd/2svfncfn6l15xl407zdj6x0h0000gq/T/201686-4941-19zhovb/appium-app.zip
[BaseDriver] Unzipped local app to '/var/folders/fd/2svfncfn6l15xl407zdj6x0h0000gq/T/201686-4941-19zhovb/Payload/testing.app'
[debug] [iOS] Removing any remaining instruments sockets [debug] [iOS] Cleaned up instruments socket /var/folders/fd/2svfncfn6l15xl407zdj6x0h0000gq/T/instruments_sock [debug] [iOS] No language specified. Using default strings
[debug] [iOS] Strings file not found. Looking in 'en.lproj' directory [debug] [iOS] Parsed app 'Localizable.strings' [debug] [ios-app-utils] Getting bundle ID from app
[iOS] Extracted bundleID: com.wa.app from app: /var/folders/fd/2svfncfn6l15xl407zdj6x0h0000gq/T/201686-4941-19zhovb/Payload/testing.app [debug] [iOS] Creating instruments [debug] [UIAuto] Preparing bootstrap code [debug] [UIAuto] Dynamic bootstrap dir: /Users/chelladurai_a/Library/Application Support/appium/bootstrap [debug] [UIAuto] Dynamic env: {"nodePath":"/Applications/Appium.app/Contents/Resources/node/bin/node","commandProxyClientPath":"/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-ios-driver/node_modules/appium-uiauto/build/lib/bin/command-proxy-client.js","instrumentsSock":"/var/folders/fd/2svfncfn6l15xl407zdj6x0h0000gq/T/instruments_sock","interKeyDelay":null,"justLoopInfinitely":false,"autoAcceptAlerts":false,"autoDismissAlerts":false,"sendKeyStrategy":"grouped"}
[debug] [UIAuto] Dynamic bootstrap code: // This file is automatically generated. Do not manually modify! ... [debug] [UIAuto] Dynamic bootstrap path: /Users/chelladurai_a/Library/Application Support/appium/bootstrap/bootstrap-445d972a3471fee9.js
[debug] [UIAuto] Reusing dynamic bootstrap: /Users/chelladurai_a/Library/Application Support/appium/bootstrap/bootstrap-445d972a3471fee9.js
[debug] [iOS] Running ios real device reset flow
[debug] [iOSLog] Attempting iOS device log capture via libimobiledevice idevicesyslog [debug] [iOSLog] Found idevicesyslog: '/usr/local/bin/idevicesyslog'
[debug] [iOS] Creating iDevice object with udid 0d22dd361f380079fca3e3d87qwwwd29d28cd55c0
[debug] [iOS] App is installed.
[debug] [iOS] fullReset not requested. No need to install. [debug] [iOS] Starting UIAutoClient, and launching Instruments.
[debug] [UIAuto] Instruments socket server started at /var/folders/fd/2svfncfn6l15xl407zdj6x0h0000gq/T/instruments_sock
[debug] [Instruments] Instruments is at: /Applications/Xcode.app/Contents/Developer/usr/bin/instruments
[debug] [Instruments] Attempting to launch instruments, this is try #1 [Instruments] Launching instruments
[debug] [Instruments] Attempting to run app on real device with UDID '0d22dd361f380079fca3e3d87qwwwd29d28cd55c0'
[debug] [Instruments] Found Insruments-Without-Delay: /Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-ios-driver/node_modules/appium-instruments/thirdparty/iwd7
[debug] [Instruments] Spawning instruments with command: '/Applications/Xcode.app/Contents/Developer/usr/bin/instruments -t /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.xrplugin/Contents/Resources/Automation.tracetemplate -D /var/folders/fd/2svfncfn6l15xl407zdj6x0h0000gq/T/appium-instruments/instrumentscli0.trace -w 0d22dd361f380079fca3e3d87qwwwd29d28cd55c0 com.wa.app -e UIASCRIPT "/Users/chelladurai_a/Library/Application Support/appium/bootstrap/bootstrap-445d972a3471fee9.js" -e UIARESULTSPATH /var/folders/fd/2svfncfn6l15xl407zdj6x0h0000gq/T/appium-instruments' [debug] [Instruments] And extra without-delay env: {} [debug] [Instruments] And launch timeouts (in ms): {"global":90000}
[debug] [Instruments] [INST STDERR] 2016-09-06 12:14:48.100 instruments[4959:172165] WebKit Threading Violation - initial use of WebKit from a secondary thread.
[debug] [Instruments] [INST STDERR] 2016-09-06 12:14:49.495 instruments[4959:172166] Failed to start Instruments daemon on 'Chelladurai's iPhone (9.3.5)' (The service is invalid.)
[iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:49 Automation-team-iPhone SpringBoard[61]
[iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:49 Automation-team-iPhone SpringBoard[61]
[iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:49 Automation-team-iPhone com.apple.xpc.launchd1
[iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:50 Automation-team-iPhone SpringBoard[61]
[iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:50 Automation-team-iPhone kernel[0]
[iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:50 Automation-team-iPhone SpringBoard[61]
[iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:50 Automation-team-iPhone SpringBoard[61]
[iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:50 Automation-team-iPhone SpringBoard[61]
[iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:50 Automation-team-iPhone DTServiceHub[278]
[iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:50 Automation-team-iPhone testing[713]
[iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:50 Automation-team-iPhone testing[713]
[iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:50 Automation-team-iPhone testing[713]
[iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:50 Automation-team-iPhone testing[713]
[iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:50 Automation-team-iPhone testing[713]
[iOSLog] [IOS_SYSLOG_ROW] "notification_types" = (
[iOSLog] [IOS_SYSLOG_ROW] );
[iOSLog] [IOS_SYSLOG_ROW] "os_version" = "9.1";
[iOSLog] [IOS_SYSLOG_ROW] "package_version" = 19;
[iOSLog] [IOS_SYSLOG_ROW] "time_zone" = "-18000";
[iOSLog] [IOS_SYSLOG_ROW] "user_id" = XBjRt70GRRmKUChbthIH8g;
[iOSLog] [IOS_SYSLOG_ROW] }.
[iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:50 Automation-team-iPhone testing[713]
[iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:50 Automation-team-iPhone testing[713]
[iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:50 Automation-team-iPhone testing[713]
[iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:50 Automation-team-iPhone Unknown[716]
[iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:51 Automation-team-iPhone testing[713]
[iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:51 Automation-team-iPhone locationd[70]
[iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:51 Automation-team-iPhone notification_proxy[174]
[iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:51 Automation-team-iPhone notification_proxy[174]
[iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:51 Automation-team-iPhone testing[713]
[iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:51 Automation-team-iPhone testing[713]
[iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:51 Automation-team-iPhone testing[713]
[debug] [Instruments] [INST STDERR] 2016-09-06 12:14:51.644 instruments[4959:172065] Failed to start Instruments daemon on 'Chelladurai's iPhone (9.3.5)' (The service is invalid.)
[iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:51 Automation-team-iPhone wa[713]
[iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:51 Automation-team-iPhone wa[713]
[iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:51 Automation-team-iPhone testing[713]
[iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:51 Automation-team-iPhone testing[713]
[iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:51 Automation-team-iPhone testing[713]
[iOSLog] [IOS_SYSLOG_ROW] "device_token" = df0a4adf6f5cb2218480745cf7524f9cdd2be5b3c6e97081a46f0741f20f0d68;
[iOSLog] [IOS_SYSLOG_ROW] "user_id" = XBjRt70GRRmKUChbthIH8g;
[iOSLog] [IOS_SYSLOG_ROW] }.
[iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:51 Automation-team-iPhone testing[713]
[iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:51 Automation-team-iPhone testing[713]
[iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:51 Automation-team-iPhone testing[713]
[iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:51 Automation-team-iPhone testing[713]
[iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:51 Automation-team-iPhone wa[713]
[iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:52 Automation-team-iPhone testing[713]
[iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:52 Automation-team-iPhone testing[713]
[iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:52 Automation-team-iPhone testing[713]
[iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:52 Automation-team-iPhone testing[713]
[UIAuto] Instruments is ready to receive commands [debug] [iOS] Instruments launched. Starting poll loop for new commands.
[debug] [iOS] Setting bootstrap config keys/values [debug] [UIAuto] Socket data received (2 bytes) [debug] [UIAuto] Got a result when we were not expecting one! Ignoring it [debug] [UIAuto] Sending command to instruments: target = $.target(); au = $; $.isVerbose = true;
[iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:52 Automation-team-iPhone testing[713]
[iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:52 Automation-team-iPhone testing[713]
[iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:52 Automation-team-iPhone testing[713]
[iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:52 Automation-team-iPhone testing[713]
[debug] [Instruments] [INST] 2016-09-06 17:14:52 +0000 Debug: evaluation finished
[debug] [Instruments] [INST] 2016-09-06 17:14:52 +0000 Debug: responding with:
[debug] [Instruments] [INST] 2016-09-06 17:14:52 +0000 Debug: Running system command #1: /Applications/Appium.app/Contents/Resources/node/bin/node /Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-ios-driver/node_modules/appium-uiauto/build/lib/bin/command-proxy-client.js /var/folders/fd/2svfncfn6l15xl407zdj6x0h0000gq/T/instruments_sock 2,{"status":0,"v...
[debug] [UIAuto] Socket data received (27 bytes)
[debug] [UIAuto] Got result from instruments: {"status":0,"value":true} [debug] [iOS] Setting initial orientation to PORTRAIT [debug] [UIAuto] Sending command to instruments: au.setScreenOrientation('PORTRAIT')
[iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:53 Automation-team-iPhone timed[68]
[debug] [Instruments] [INST] 2016-09-06 17:14:53 +0000 Debug: Got new command 1 from instruments: au.setScreenOrientation('PORTRAIT')
[debug] [Instruments] [INST] 2016-09-06 17:14:53 +0000 Debug: evaluating au.setScreenOrientation('PORTRAIT') [debug] [Instruments] [INST] 2016-09-06 17:14:53 +0000 Debug: target.setDeviceOrientation("1")
[iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:54 Automation-team-iPhone timed[68]
[debug] [Instruments] [INST] 2016-09-06 17:14:54 +0000 Debug: evaluation finished
[debug] [Instruments] [INST] 2016-09-06 17:14:54 +0000 Debug: responding with:
[debug] [Instruments] [INST] 2016-09-06 17:14:54 +0000 Debug: Running system command #2: /Applications/Appium.app/Contents/Resources/node/bin/node /Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-ios-driver/node_modules/appium-uiauto/build/lib/bin/command-proxy-client.js /var/folders/fd/2svfncfn6l15xl407zdj6x0h0000gq/T/instruments_sock 2,{"status":0,"v...
[debug] [UIAuto] Socket data received (33 bytes)
[debug] [UIAuto] Got result from instruments: {"status":0,"value":"PORTRAIT"}
[debug] [iOS] Waiting for app source to contain elements [debug] [UIAuto] Sending command to instruments: au.mainApp().getTreeForXML()
[HTTP] --> GET /wd/hub/status {}
[MJSONWP] Calling AppiumDriver.getStatus() with args: []
[iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:55 Automation-team-iPhone timed[68]
[debug] [Instruments] [INST] 2016-09-06 17:14:55 +0000 Debug: Got new command 2 from instruments: au.mainApp().getTreeForXML()
[debug] [Instruments] [INST] 2016-09-06 17:14:55 +0000 Debug: evaluating au.mainApp().getTreeForXML()
[iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:56 Automation-team-iPhone kernel[0]
[debug] [Instruments] [INST] 2016-09-06 17:14:56 +0000 Debug: evaluation finished
[debug] [UIAuto] Socket data received (8188 bytes)
[debug] [UIAuto] Socket data received (1786 bytes) [debug] [UIAuto] Got result from instruments: {"status":0,"value":{"UIAApplication":{"@":{"name":"wa","label":"wa","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0","x":0,"y":0,"width":375,"height":667},">":[{"UIAWindow":{"@":{"name":null,"label":null,"value":null,"dom":null,"enabled":true,
[Appium] New IosDriver session created successfully, session c5b34745-2b01-4f6d-a13e-043d62190fc8 added to master session list [MJSONWP] Responding to client with driver.createSession() result: {"webStorageEnabled":false,... [HTTP] <-- POST /wd/hub/session 200 22055 ms - 686
[HTTP] --> POST /wd/hub/session/c5b34745-2b01-4f6d-a13e-043d62190fc8/timeouts {"type":"implicit","ms":500}
[MJSONWP] Calling AppiumDriver.timeouts() with args: ["implicit",500,"c5b34745-2...
[debug] [iOS] Executing iOS command 'timeouts' [debug] [BaseDriver] Set implicit wait to 500ms [HTTP] <-- GET /wd/hub/status - - ms - - [MJSONWP] Responding to client with driver.timeouts() result: null [HTTP] <-- POST /wd/hub/session/c5b34745-2b01-4f6d-a13e-043d62190fc8/timeouts 200 8 ms - 76 [HTTP] --> POST /wd/hub/session/c5b34745-2b01-4f6d-a13e-043d62190fc8/url {"url":"/Users/chelladurai_a/Desktop/Payload/testing.ipa"}
[MJSONWP] Encountered internal error running command: Error: Url or Uri must start with
ppium.app/Contents/Resources/node_modules/appium/node_modules/appium-base-driver/node_modules/express/lib/router/index.js:271:10) at /Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-base-driver/node_modules/body-parser/lib/read.js:129:5 at invokeCallback (/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-base-driver/node_modules/body-parser/node_modules/raw-body/index.js:262:16) at done (/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-base-driver/node_modules/body-parser/node_modules/raw-body/index.js:251:7) at IncomingMessage.onEnd (/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-base-driver/node_modules/body-parser/node_modules/raw-body/index.js:308:7) at emitNone (events.js:80:13) at IncomingMessage.emit (events.js:179:7)
[MJSONWP] Responding to client with driver.getStatus() result: {"build":{"version":"1.5.3"...
[iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:57 Automation-team-iPhone timed[68]
[HTTP] --> GET /wd/hub/status {}
[MJSONWP] Calling AppiumDriver.getStatus() with args: []
[MJSONWP] Responding to client with driver.getStatus() result: {"build":{"version":"1.5.3"...
[HTTP] <-- GET /wd/hub/status 200 108 ms - 83
You cannot set the url to be a local file. What is the use-case for this?
@imurchie
how to do the it.
I want to test the iOS native application. Until 1.4.x it was worked fine,while we upgrading to appium 1.5.x we are facing this issue. That too issue only for iOS,it works for android
What is the use case for doing this?
@imurchie,
Am getting this issue,after the application is launched through the automation script.
But why are you trying to go to this url? What is it trying to do?
Am setting the application path as DesiredCapabilities for the server arguments that's it ,am passing (application path) it as a URL
I guess I'm just confused. There is an explicit call to change the url, to a local file:
[HTTP] --> POST /wd/hub/session/c5b34745-2b01-4f6d-a13e-043d62190fc8/url {"url":"/Users/chelladurai_a/Desktop/Payload/testing.ipa"}
@imurchie , This is the issue am facing in iOS for latest Appium (1.5.x). I works great in < 1.5
@acdurai why are you trying to navigate to an IPA file?
This is in the logs:
[HTTP] --> POST /wd/hub/session/c5b34745-2b01-4f6d-a13e-043d62190fc8/url {"url":"/Users/chelladurai_a/Desktop/Payload/testing.ipa"}
Which means you're trying to navigate a webview or browser to that URL. You're not even in a browser, so this doesn't make sense at all. You should simply remove the client url command.
@jlipps, Am trying to run the automation testcases for ios Native application in iPhone. Upto appium 1.4.x version am able to run the test in iPhone. Am facing this issue only with appium 1.5.x versions alone for iOS only(Android it work's fine).
Below are the my desired capabilities.
DesiredCapabilities capabilities = new DesiredCapabilities();
capabilities.setCapability(CapabilityType.BROWSER_NAME, "");
capabilities.setCapability("platformVersion", "9.2");
capabilities.setCapability("platformName", "IOS");
capabilities.setCapability("app", "/Users/chelladurai_a/Desktop/Payload/testing.ipa");
capabilities.setCapability("deviceName", "iPhone 6S");
app = new IOSDriver
Your desired capabilities aren't the problem. It's other parts of your test. If you paste your complete test code I will point it out.
Protractor uses url
data:text/html,<html></html>
to defer Angular bootstrap, but this URL isn't valid according to thesetUrl
method.Each test fails with error
Url or Uri must start with <scheme>://