Replies: 1 comment
-
Your app apparently failed to open; not sure what that has to do with Appium? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
[Appium] Welcome to Appium v2.2.2 (REV 251a098fbf1c02ca95f53b4806e5b6da8d5e4a80)
[Appium] Attempting to load driver xcuitest...
[Appium] Requiring driver at /Users/dr.mac/.appium/node_modules/appium-xcuitest-driver
[Appium] Appium REST http interface listener started on http://0.0.0.0:4723
[Appium] You can provide the following URLs in your client code to connect to this server:
[Appium] http://127.0.0.1:4723/ (only accessible from the same host)
[Appium] http://192.168.18.34:4723/
[Appium] Available drivers:
[Appium] - [email protected] (automationName 'XCUITest')
[Appium] Available plugins:
[Appium] - [email protected]
[Appium] - [email protected]
[Appium] No plugins activated. Use the --use-plugins flag with names of plugins to activate
[HTTP] --> POST /session
[HTTP] {"capabilities":{"alwaysMatch":{"platformName":"iOS","appium:platformVersion":"17.0","appium:deviceName":"iPhone 15 Pro","appium:automationName":"XCUITest","appium:udid":"0C8D8543-5CE0-4146-AEC7-4AD67AC2C268","appium:bundleId":"com.driver-app.staging","appium:app":"/Users/dr.mac/Library/Developer/Xcode/DerivedData/DriverApp-bcgklepooukmwafregcqypgvodva/Build/Products/Debug-iphonesimulator/Driver Staging.app","appium:includeSafariInWebviews":true,"appium:newCommandTimeout":3600,"appium:connectHardwareKeyboard":true},"firstMatch":[{}]},"desiredCapabilities":{"platformName":"iOS","appium:platformVersion":"17.0","appium:deviceName":"iPhone 15 Pro","appium:automationName":"XCUITest","appium:udid":"0C8D8543-5CE0-4146-AEC7-4AD67AC2C268","appium:bundleId":"com.driver-app.staging","appium:app":"/Users/dr.mac/Library/Developer/Xcode/DerivedData/DriverApp-bcgklepooukmwafregcqypgvodva/Build/Products/Debug-iphonesimulator/Driver Staging.app","appium:includeSafariInWebviews":true,"appiu...
[AppiumDriver@dcf3] Calling AppiumDriver.createSession() with args: [{"platformName":"iOS","appium:platformVersion":"17.0","appium:deviceName":"iPhone 15 Pro","appium:automationName":"XCUITest","appium:udid":"0C8D8543-5CE0-4146-AEC7-4AD67AC2C268","appium:bundleId":"com.driver-app.staging","appium:app":"/Users/dr.mac/Library/Developer/Xcode/DerivedData/DriverApp-bcgklepooukmwafregcqypgvodva/Build/Products/Debug-iphonesimulator/Driver Staging.app","appium:includeSafariInWebviews":true,"appium:newCommandTimeout":3600,"appium:connectHardwareKeyboard":true},null,{"alwaysMatch":{"platformName":"iOS","appium:platformVersion":"17.0","appium:deviceName":"iPhone 15 Pro","appium:automationName":"XCUITest","appium:udid":"0C8D8543-5CE0-4146-AEC7-4AD67AC2C268","appium:bundleId":"com.driver-app.staging","appium:app":"/Users/dr.mac/Library/Developer/Xcode/DerivedData/DriverApp-bcgklepooukmwafregcqypgvodva/Build/Products/Debug-iphonesimulator/Driver Staging.app","appium:includeSafariInWebviews":true,"appium:newCommandTimeout":3600,"appium:connectHardwareKe...
[AppiumDriver@dcf3] Event 'newSessionRequested' logged at 1701546928121 (01:25:28 GMT+0530 (India Standard Time))
[Appium] Attempting to find matching driver for automationName 'XCUITest' and platformName 'iOS'
[Appium] The 'xcuitest' driver was installed and matched caps.
[Appium] Will require it at /Users/dr.mac/.appium/node_modules/appium-xcuitest-driver
[Appium] Requiring driver at /Users/dr.mac/.appium/node_modules/appium-xcuitest-driver
[AppiumDriver@dcf3] Appium v2.2.2 creating new XCUITestDriver (v4.32.23) session
[AppiumDriver@dcf3] Checking BaseDriver versions for Appium and XCUITestDriver
[AppiumDriver@dcf3] Appium's BaseDriver version is 9.4.2
[AppiumDriver@dcf3] XCUITestDriver's BaseDriver version is 9.4.2
[XCUITestDriver@325a] Creating session with W3C capabilities: {
[XCUITestDriver@325a] "alwaysMatch": {
[XCUITestDriver@325a] "platformName": "iOS",
[XCUITestDriver@325a] "appium:platformVersion": "17.0",
[XCUITestDriver@325a] "appium:deviceName": "iPhone 15 Pro",
[XCUITestDriver@325a] "appium:automationName": "XCUITest",
[XCUITestDriver@325a] "appium:udid": "0C8D8543-5CE0-4146-AEC7-4AD67AC2C268",
[XCUITestDriver@325a] "appium:bundleId": "com.driver-app.staging",
[XCUITestDriver@325a] "appium:app": "/Users/dr.mac/Library/Developer/Xcode/DerivedData/DriverApp-bcgklepooukmwafregcqypgvodva/Build/Products/Debug-iphonesimulator/Driver Staging.app",
[XCUITestDriver@325a] "appium:includeSafariInWebviews": true,
[XCUITestDriver@325a] "appium:newCommandTimeout": 3600,
[XCUITestDriver@325a] "appium:connectHardwareKeyboard": true
[XCUITestDriver@325a] },
[XCUITestDriver@325a] "firstMatch": [
[XCUITestDriver@325a] {}
[XCUITestDriver@325a] ]
[XCUITestDriver@325a] }
[XCUITestDriver@325a (4b9143bf)] Session created with session id: 4b9143bf-b597-4d55-9ad5-b4b74314b5d8
[XCUITest] Current user: 'dr.mac'
[XCUITestDriver@325a (4b9143bf)] Available devices:
[XCUITestDriver@325a (4b9143bf)] No real device with udid '0C8D8543-5CE0-4146-AEC7-4AD67AC2C268'. Looking for simulator
[iOSSim] Constructing iOS simulator for Xcode version 15.0.1 with udid '0C8D8543-5CE0-4146-AEC7-4AD67AC2C268'
[XCUITestDriver@325a (4b9143bf)] Determining device to run tests on: udid: '0C8D8543-5CE0-4146-AEC7-4AD67AC2C268', real device: false
[XCUITestDriver@325a (4b9143bf)] Event 'xcodeDetailsRetrieved' logged at 1701546928375 (01:25:28 GMT+0530 (India Standard Time))
[BaseDriver] Using local app '/Users/dr.mac/Library/Developer/Xcode/DerivedData/DriverApp-bcgklepooukmwafregcqypgvodva/Build/Products/Debug-iphonesimulator/Driver Staging.app'
[XCUITestDriver@325a (4b9143bf)] Event 'appConfigured' logged at 1701546928376 (01:25:28 GMT+0530 (India Standard Time))
[XCUITest] Checking whether app '/Users/dr.mac/Library/Developer/Xcode/DerivedData/DriverApp-bcgklepooukmwafregcqypgvodva/Build/Products/Debug-iphonesimulator/Driver Staging.app' is actually present on file system
[XCUITest] App is present
[XCUITestDriver@325a (4b9143bf)] Event 'resetStarted' logged at 1701546928377 (01:25:28 GMT+0530 (India Standard Time))
[simctl] Error running 'terminate': An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=3):
Simulator device returned an error for the requested operation.
found nothing to terminate
Underlying error (domain=NSPOSIXErrorDomain, code=3):
The request to terminate "com.driver-app.staging" failed. found nothing to terminate
found nothing to terminate
[XCUITest] Reset: failed to terminate Simulator application with id "com.driver-app.staging"
[XCUITest] Not scrubbing third party app in anticipation of uninstall
[XCUITestDriver@325a (4b9143bf)] Event 'resetComplete' logged at 1701546928527 (01:25:28 GMT+0530 (India Standard Time))
[XCUITestDriver@325a (4b9143bf)] Using WDA path: '/Users/dr.mac/.appium/node_modules/appium-xcuitest-driver/node_modules/appium-webdriveragent'
[XCUITestDriver@325a (4b9143bf)] Using WDA agent: '/Users/dr.mac/.appium/node_modules/appium-xcuitest-driver/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj'
[IOSSimulatorLog] Starting log capture for iOS Simulator with udid '0C8D8543-5CE0-4146-AEC7-4AD67AC2C268' using simctl
[XCUITestDriver@325a (4b9143bf)] Event 'logCaptureStarted' logged at 1701546928889 (01:25:28 GMT+0530 (India Standard Time))
[XCUITestDriver@325a (4b9143bf)] Setting up simulator
[iOSSim] Setting preferences of 0C8D8543-5CE0-4146-AEC7-4AD67AC2C268 Simulator to {"ConnectHardwareKeyboard":true}
[iOSSim] Setting common Simulator preferences to {"RotateWindowWhenSignaledByGuest":true,"StartLastDeviceOnLaunch":false,"DetachOnWindowClose":false,"AttachBootedOnStart":true,"ConnectHardwareKeyboard":true,"PasteboardAutomaticSync":false}
[iOSSim] Updated 0C8D8543-5CE0-4146-AEC7-4AD67AC2C268 Simulator preferences at '/Users/dr.mac/Library/Preferences/com.apple.iphonesimulator.plist' with {"RotateWindowWhenSignaledByGuest":true,"StartLastDeviceOnLaunch":false,"DetachOnWindowClose":false,"AttachBootedOnStart":true,"ConnectHardwareKeyboard":true,"PasteboardAutomaticSync":false,"DevicePreferences":{"0C8D8543-5CE0-4146-AEC7-4AD67AC2C268":{"SimulatorExternalDisplay":2114,"ConnectHardwareKeyboard":true,"ChromeTint":"","SimulatorWindowOrientation":"Portrait","SimulatorWindowRotationAngle":0,"SimulatorWindowGeometry":{"F15C7716-F627-42BC-A2C2-FB05F5D81AED":{"WindowCenter":"{807.5, 625}","WindowScale":1}}}}}
[iOSSim] Got Simulator UI client PID: 2978
[iOSSim] Both Simulator with UDID '0C8D8543-5CE0-4146-AEC7-4AD67AC2C268' and the UI client are currently running
[XCUITestDriver@325a (4b9143bf)] Event 'simStarted' logged at 1701546929201 (01:25:29 GMT+0530 (India Standard Time))
[XCUITest] Verifying application platform
[XCUITest] CFBundleSupportedPlatforms: ["iPhoneSimulator"]
[simctl] Error running 'get_app_container': An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=2):
The operation couldn’t be completed. No such file or directory
No such file or directory
[XCUITestDriver@325a (4b9143bf)] App 'com.driver-app.staging' is not installed on the device yet
[XCUITest] Installing '/Users/dr.mac/Library/Developer/Xcode/DerivedData/DriverApp-bcgklepooukmwafregcqypgvodva/Build/Products/Debug-iphonesimulator/Driver Staging.app' on Simulator with UUID '0C8D8543-5CE0-4146-AEC7-4AD67AC2C268'...
[XCUITest] The app has been installed successfully.
[XCUITestDriver@325a (4b9143bf)] Event 'appInstalled' logged at 1701546930596 (01:25:30 GMT+0530 (India Standard Time))
[XCUITestDriver@325a (4b9143bf)] No obsolete cached processes from previous WDA sessions listening on port 8100 have been found
[DevCon Factory] Requesting connection for device 0C8D8543-5CE0-4146-AEC7-4AD67AC2C268 on local port 8100
[DevCon Factory] Cached connections count: 0
[DevCon Factory] Successfully requested the connection for 0C8D8543-5CE0-4146-AEC7-4AD67AC2C268:8100
[XCUITestDriver@325a (4b9143bf)] Starting WebDriverAgent initialization with the synchronization key 'XCUITestDriver'
[WD Proxy] Matched '/status' to command name 'getStatus'
[WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[WD Proxy] connect ECONNREFUSED 127.0.0.1:8100
[XCUITestDriver@325a (4b9143bf)] WDA is not listening at 'http://127.0.0.1:8100/'
[XCUITestDriver@325a (4b9143bf)] WDA is currently not running. There is nothing to cache
[XCUITestDriver@325a (4b9143bf)] Trying to start WebDriverAgent 2 times with 10000ms interval
[XCUITestDriver@325a (4b9143bf)] These values can be customized by changing wdaStartupRetries/wdaStartupRetryInterval capabilities
[XCUITestDriver@325a (4b9143bf)] Event 'wdaStartAttempted' logged at 1701546930819 (01:25:30 GMT+0530 (India Standard Time))
[XCUITestDriver@325a (4b9143bf)] Launching WebDriverAgent on the device
[XCUITestDriver@325a (4b9143bf)] There is no need to perform the project cleanup. A fresh install has been detected
[WebDriverAgent] Killing running processes 'xcodebuild.*0C8D8543-5CE0-4146-AEC7-4AD67AC2C268, 0C8D8543-5CE0-4146-AEC7-4AD67AC2C268.*XCTRunner, xctest.*0C8D8543-5CE0-4146-AEC7-4AD67AC2C268' for the device 0C8D8543-5CE0-4146-AEC7-4AD67AC2C268...
[WebDriverAgent] 'pgrep -if xcodebuild.*0C8D8543-5CE0-4146-AEC7-4AD67AC2C268' didn't detect any matching processes. Return code: 1
[WebDriverAgent] 'pgrep -if 0C8D8543-5CE0-4146-AEC7-4AD67AC2C268.*XCTRunner' didn't detect any matching processes. Return code: 1
[WebDriverAgent] 'pgrep -if xctest.*0C8D8543-5CE0-4146-AEC7-4AD67AC2C268' didn't detect any matching processes. Return code: 1
[XCUITestDriver@325a (4b9143bf)] Beginning test with command 'xcodebuild build-for-testing test-without-building -project /Users/dr.mac/.appium/node_modules/appium-xcuitest-driver/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination id=0C8D8543-5CE0-4146-AEC7-4AD67AC2C268 IPHONEOS_DEPLOYMENT_TARGET=17.0 GCC_TREAT_WARNINGS_AS_ERRORS=0 COMPILER_INDEX_STORE_ENABLE=NO' in directory '/Users/dr.mac/.appium/node_modules/appium-xcuitest-driver/node_modules/appium-webdriveragent'
[XCUITestDriver@325a (4b9143bf)] Output from xcodebuild will only be logged if any errors are present there. To change this, use 'showXcodeLog' desired capability
[XCUITestDriver@325a (4b9143bf)] Parsed BUILD_DIR configuration value: '/Users/dr.mac/Library/Developer/Xcode/DerivedData/WebDriverAgent-afqdaygrxoasyjbavcbxodypjezy/Build/Products'
[XCUITestDriver@325a (4b9143bf)] Got derived data root: '/Users/dr.mac/Library/Developer/Xcode/DerivedData/WebDriverAgent-afqdaygrxoasyjbavcbxodypjezy'
[XCUITestDriver@325a (4b9143bf)] Waiting up to 60000ms for WebDriverAgent to start
[XCUITestDriver@325a (4b9143bf)] Matched '/status' to command name 'getStatus'
[XCUITestDriver@325a (4b9143bf)] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[XCUITestDriver@325a (4b9143bf)] connect ECONNREFUSED 127.0.0.1:8100
[XCUITestDriver@325a (4b9143bf)] Matched '/status' to command name 'getStatus'
[XCUITestDriver@325a (4b9143bf)] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[XCUITestDriver@325a (4b9143bf)] connect ECONNREFUSED 127.0.0.1:8100
[XCUITestDriver@325a (4b9143bf)] Matched '/status' to command name 'getStatus'
[XCUITestDriver@325a (4b9143bf)] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[XCUITestDriver@325a (4b9143bf)] connect ECONNREFUSED 127.0.0.1:8100
[XCUITestDriver@325a (4b9143bf)] Matched '/status' to command name 'getStatus'
[XCUITestDriver@325a (4b9143bf)] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[XCUITestDriver@325a (4b9143bf)] connect ECONNREFUSED 127.0.0.1:8100
[XCUITestDriver@325a (4b9143bf)] Matched '/status' to command name 'getStatus'
[XCUITestDriver@325a (4b9143bf)] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[XCUITestDriver@325a (4b9143bf)] connect ECONNREFUSED 127.0.0.1:8100
[XCUITestDriver@325a (4b9143bf)] Matched '/status' to command name 'getStatus'
[XCUITestDriver@325a (4b9143bf)] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[XCUITestDriver@325a (4b9143bf)] connect ECONNREFUSED 127.0.0.1:8100
[XCUITestDriver@325a (4b9143bf)] Matched '/status' to command name 'getStatus'
[XCUITestDriver@325a (4b9143bf)] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[XCUITestDriver@325a (4b9143bf)] connect ECONNREFUSED 127.0.0.1:8100
[XCUITestDriver@325a (4b9143bf)] Matched '/status' to command name 'getStatus'
[XCUITestDriver@325a (4b9143bf)] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[XCUITestDriver@325a (4b9143bf)] connect ECONNREFUSED 127.0.0.1:8100
[XCUITestDriver@325a (4b9143bf)] Matched '/status' to command name 'getStatus'
[XCUITestDriver@325a (4b9143bf)] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[XCUITestDriver@325a (4b9143bf)] connect ECONNREFUSED 127.0.0.1:8100
[XCUITestDriver@325a (4b9143bf)] Matched '/status' to command name 'getStatus'
[XCUITestDriver@325a (4b9143bf)] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[XCUITestDriver@325a (4b9143bf)] connect ECONNREFUSED 127.0.0.1:8100
[XCUITestDriver@325a (4b9143bf)] Matched '/status' to command name 'getStatus'
[XCUITestDriver@325a (4b9143bf)] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[XCUITestDriver@325a (4b9143bf)] connect ECONNREFUSED 127.0.0.1:8100
[XCUITestDriver@325a (4b9143bf)] Matched '/status' to command name 'getStatus'
[XCUITestDriver@325a (4b9143bf)] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[XCUITestDriver@325a (4b9143bf)] connect ECONNREFUSED 127.0.0.1:8100
[XCUITestDriver@325a (4b9143bf)] Matched '/status' to command name 'getStatus'
[XCUITestDriver@325a (4b9143bf)] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[XCUITestDriver@325a (4b9143bf)] connect ECONNREFUSED 127.0.0.1:8100
[XCUITestDriver@325a (4b9143bf)] Matched '/status' to command name 'getStatus'
[XCUITestDriver@325a (4b9143bf)] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[XCUITestDriver@325a (4b9143bf)] connect ECONNREFUSED 127.0.0.1:8100
[XCUITestDriver@325a (4b9143bf)] Matched '/status' to command name 'getStatus'
[XCUITestDriver@325a (4b9143bf)] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[XCUITestDriver@325a (4b9143bf)] connect ECONNREFUSED 127.0.0.1:8100
[XCUITestDriver@325a (4b9143bf)] Matched '/status' to command name 'getStatus'
[XCUITestDriver@325a (4b9143bf)] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[XCUITestDriver@325a (4b9143bf)] connect ECONNREFUSED 127.0.0.1:8100
[XCUITestDriver@325a (4b9143bf)] Matched '/status' to command name 'getStatus'
[XCUITestDriver@325a (4b9143bf)] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[XCUITestDriver@325a (4b9143bf)] connect ECONNREFUSED 127.0.0.1:8100
[XCUITestDriver@325a (4b9143bf)] Matched '/status' to command name 'getStatus'
[XCUITestDriver@325a (4b9143bf)] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[XCUITestDriver@325a (4b9143bf)] connect ECONNREFUSED 127.0.0.1:8100
[XCUITestDriver@325a (4b9143bf)] Matched '/status' to command name 'getStatus'
[XCUITestDriver@325a (4b9143bf)] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[XCUITestDriver@325a (4b9143bf)] connect ECONNREFUSED 127.0.0.1:8100
[XCUITestDriver@325a (4b9143bf)] Matched '/status' to command name 'getStatus'
[XCUITestDriver@325a (4b9143bf)] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[XCUITestDriver@325a (4b9143bf)] connect ECONNREFUSED 127.0.0.1:8100
[XCUITestDriver@325a (4b9143bf)] Matched '/status' to command name 'getStatus'
[XCUITestDriver@325a (4b9143bf)] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[XCUITestDriver@325a (4b9143bf)] connect ECONNREFUSED 127.0.0.1:8100
[XCUITestDriver@325a (4b9143bf)] Matched '/status' to command name 'getStatus'
[XCUITestDriver@325a (4b9143bf)] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[XCUITestDriver@325a (4b9143bf)] connect ECONNREFUSED 127.0.0.1:8100
[XCUITestDriver@325a (4b9143bf)] Matched '/status' to command name 'getStatus'
[XCUITestDriver@325a (4b9143bf)] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[XCUITestDriver@325a (4b9143bf)] connect ECONNREFUSED 127.0.0.1:8100
[XCUITestDriver@325a (4b9143bf)] Matched '/status' to command name 'getStatus'
[XCUITestDriver@325a (4b9143bf)] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[XCUITestDriver@325a (4b9143bf)] connect ECONNREFUSED 127.0.0.1:8100
[XCUITestDriver@325a (4b9143bf)] Matched '/status' to command name 'getStatus'
[XCUITestDriver@325a (4b9143bf)] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[XCUITestDriver@325a (4b9143bf)] connect ECONNREFUSED 127.0.0.1:8100
[XCUITestDriver@325a (4b9143bf)] Matched '/status' to command name 'getStatus'
[XCUITestDriver@325a (4b9143bf)] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[XCUITestDriver@325a (4b9143bf)] connect ECONNREFUSED 127.0.0.1:8100
[XCUITestDriver@325a (4b9143bf)] Matched '/status' to command name 'getStatus'
[XCUITestDriver@325a (4b9143bf)] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[XCUITestDriver@325a (4b9143bf)] connect ECONNREFUSED 127.0.0.1:8100
[XCUITestDriver@325a (4b9143bf)] Matched '/status' to command name 'getStatus'
[XCUITestDriver@325a (4b9143bf)] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[XCUITestDriver@325a (4b9143bf)] connect ECONNREFUSED 127.0.0.1:8100
[XCUITestDriver@325a (4b9143bf)] Matched '/status' to command name 'getStatus'
[XCUITestDriver@325a (4b9143bf)] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[XCUITestDriver@325a (4b9143bf)] connect ECONNREFUSED 127.0.0.1:8100
[XCUITestDriver@325a (4b9143bf)] Matched '/status' to command name 'getStatus'
[XCUITestDriver@325a (4b9143bf)] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[XCUITestDriver@325a (4b9143bf)] connect ECONNREFUSED 127.0.0.1:8100
[XCUITestDriver@325a (4b9143bf)] Matched '/status' to command name 'getStatus'
[XCUITestDriver@325a (4b9143bf)] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[XCUITestDriver@325a (4b9143bf)] connect ECONNREFUSED 127.0.0.1:8100
[XCUITestDriver@325a (4b9143bf)] Matched '/status' to command name 'getStatus'
[XCUITestDriver@325a (4b9143bf)] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[XCUITestDriver@325a (4b9143bf)] connect ECONNREFUSED 127.0.0.1:8100
[XCUITestDriver@325a (4b9143bf)] Matched '/status' to command name 'getStatus'
[XCUITestDriver@325a (4b9143bf)] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[XCUITestDriver@325a (4b9143bf)] connect ECONNREFUSED 127.0.0.1:8100
[XCUITestDriver@325a (4b9143bf)] Matched '/status' to command name 'getStatus'
[XCUITestDriver@325a (4b9143bf)] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[XCUITestDriver@325a (4b9143bf)] connect ECONNREFUSED 127.0.0.1:8100
[XCUITestDriver@325a (4b9143bf)] Matched '/status' to command name 'getStatus'
[XCUITestDriver@325a (4b9143bf)] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[XCUITestDriver@325a (4b9143bf)] connect ECONNREFUSED 127.0.0.1:8100
[XCUITestDriver@325a (4b9143bf)] Matched '/status' to command name 'getStatus'
[XCUITestDriver@325a (4b9143bf)] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[XCUITestDriver@325a (4b9143bf)] connect ECONNREFUSED 127.0.0.1:8100
[XCUITestDriver@325a (4b9143bf)] Matched '/status' to command name 'getStatus'
[XCUITestDriver@325a (4b9143bf)] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[XCUITestDriver@325a (4b9143bf)] connect ECONNREFUSED 127.0.0.1:8100
[XCUITestDriver@325a (4b9143bf)] Matched '/status' to command name 'getStatus'
[XCUITestDriver@325a (4b9143bf)] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[XCUITestDriver@325a (4b9143bf)] connect ECONNREFUSED 127.0.0.1:8100
[XCUITestDriver@325a (4b9143bf)] Matched '/status' to command name 'getStatus'
[XCUITestDriver@325a (4b9143bf)] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[XCUITestDriver@325a (4b9143bf)] connect ECONNREFUSED 127.0.0.1:8100
[XCUITestDriver@325a (4b9143bf)] Matched '/status' to command name 'getStatus'
[XCUITestDriver@325a (4b9143bf)] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[XCUITestDriver@325a (4b9143bf)] connect ECONNREFUSED 127.0.0.1:8100
[XCUITestDriver@325a (4b9143bf)] Matched '/status' to command name 'getStatus'
[XCUITestDriver@325a (4b9143bf)] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[XCUITestDriver@325a (4b9143bf)] connect ECONNREFUSED 127.0.0.1:8100
[XCUITestDriver@325a (4b9143bf)] Matched '/status' to command name 'getStatus'
[XCUITestDriver@325a (4b9143bf)] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[XCUITestDriver@325a (4b9143bf)] connect ECONNREFUSED 127.0.0.1:8100
[XCUITestDriver@325a (4b9143bf)] Matched '/status' to command name 'getStatus'
[XCUITestDriver@325a (4b9143bf)] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[XCUITestDriver@325a (4b9143bf)] connect ECONNREFUSED 127.0.0.1:8100
[XCUITestDriver@325a (4b9143bf)] Matched '/status' to command name 'getStatus'
[XCUITestDriver@325a (4b9143bf)] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[XCUITestDriver@325a (4b9143bf)] connect ECONNREFUSED 127.0.0.1:8100
[XCUITestDriver@325a (4b9143bf)] Matched '/status' to command name 'getStatus'
[XCUITestDriver@325a (4b9143bf)] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[XCUITestDriver@325a (4b9143bf)] connect ECONNREFUSED 127.0.0.1:8100
[XCUITestDriver@325a (4b9143bf)] Matched '/status' to command name 'getStatus'
[XCUITestDriver@325a (4b9143bf)] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[XCUITestDriver@325a (4b9143bf)] connect ECONNREFUSED 127.0.0.1:8100
[XCUITestDriver@325a (4b9143bf)] Matched '/status' to command name 'getStatus'
[XCUITestDriver@325a (4b9143bf)] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[XCUITestDriver@325a (4b9143bf)] connect ECONNREFUSED 127.0.0.1:8100
[XCUITestDriver@325a (4b9143bf)] Matched '/status' to command name 'getStatus'
[XCUITestDriver@325a (4b9143bf)] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[XCUITestDriver@325a (4b9143bf)] connect ECONNREFUSED 127.0.0.1:8100
[XCUITestDriver@325a (4b9143bf)] Matched '/status' to command name 'getStatus'
[XCUITestDriver@325a (4b9143bf)] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[XCUITestDriver@325a (4b9143bf)] connect ECONNREFUSED 127.0.0.1:8100
[XCUITestDriver@325a (4b9143bf)] Matched '/status' to command name 'getStatus'
[XCUITestDriver@325a (4b9143bf)] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[XCUITestDriver@325a (4b9143bf)] connect ECONNREFUSED 127.0.0.1:8100
[XCUITestDriver@325a (4b9143bf)] Matched '/status' to command name 'getStatus'
[XCUITestDriver@325a (4b9143bf)] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[XCUITestDriver@325a (4b9143bf)] connect ECONNREFUSED 127.0.0.1:8100
[XCUITestDriver@325a (4b9143bf)] Matched '/status' to command name 'getStatus'
[XCUITestDriver@325a (4b9143bf)] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[XCUITestDriver@325a (4b9143bf)] connect ECONNREFUSED 127.0.0.1:8100
[XCUITestDriver@325a (4b9143bf)] Matched '/status' to command name 'getStatus'
[XCUITestDriver@325a (4b9143bf)] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[XCUITestDriver@325a (4b9143bf)] connect ECONNREFUSED 127.0.0.1:8100
[XCUITestDriver@325a (4b9143bf)] Matched '/status' to command name 'getStatus'
[XCUITestDriver@325a (4b9143bf)] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[XCUITestDriver@325a (4b9143bf)] connect ECONNREFUSED 127.0.0.1:8100
[XCUITestDriver@325a (4b9143bf)] Matched '/status' to command name 'getStatus'
[XCUITestDriver@325a (4b9143bf)] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[XCUITestDriver@325a (4b9143bf)] connect ECONNREFUSED 127.0.0.1:8100
[XCUITestDriver@325a (4b9143bf)] Matched '/status' to command name 'getStatus'
[XCUITestDriver@325a (4b9143bf)] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[XCUITestDriver@325a (4b9143bf)] connect ECONNREFUSED 127.0.0.1:8100
[XCUITestDriver@325a (4b9143bf)] Matched '/status' to command name 'getStatus'
[XCUITestDriver@325a (4b9143bf)] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[XCUITestDriver@325a (4b9143bf)] Got response with status 200: {"value":{"message":"WebDriverAgent is ready to accept commands","state":"success","os":{"testmanagerdVersion":65535,"name":"iOS","sdkVersion":"17.0","version":"17.0.1"},"ios":{"simulatorVersion":"17.0.1","ip":"192.168.18.34"},"ready":true,"build":{"upgradedAt":"1690368090601","time":"Dec 3 2023 01:25:39","productBundleIdentifier":"com.facebook.WebDriverAgentRunner"}},"sessionId":null}
[XCUITestDriver@325a (4b9143bf)] WebDriverAgent information:
[XCUITestDriver@325a (4b9143bf)] {
[XCUITestDriver@325a (4b9143bf)] "message": "WebDriverAgent is ready to accept commands",
[XCUITestDriver@325a (4b9143bf)] "state": "success",
[XCUITestDriver@325a (4b9143bf)] "os": {
[XCUITestDriver@325a (4b9143bf)] "testmanagerdVersion": 65535,
[XCUITestDriver@325a (4b9143bf)] "name": "iOS",
[XCUITestDriver@325a (4b9143bf)] "sdkVersion": "17.0",
[XCUITestDriver@325a (4b9143bf)] "version": "17.0.1"
[XCUITestDriver@325a (4b9143bf)] },
[XCUITestDriver@325a (4b9143bf)] "ios": {
[XCUITestDriver@325a (4b9143bf)] "simulatorVersion": "17.0.1",
[XCUITestDriver@325a (4b9143bf)] "ip": "192.168.18.34"
[XCUITestDriver@325a (4b9143bf)] },
[XCUITestDriver@325a (4b9143bf)] "ready": true,
[XCUITestDriver@325a (4b9143bf)] "build": {
[XCUITestDriver@325a (4b9143bf)] "upgradedAt": "1690368090601",
[XCUITestDriver@325a (4b9143bf)] "time": "Dec 3 2023 01:25:39",
[XCUITestDriver@325a (4b9143bf)] "productBundleIdentifier": "com.facebook.WebDriverAgentRunner"
[XCUITestDriver@325a (4b9143bf)] }
[XCUITestDriver@325a (4b9143bf)] }
[XCUITestDriver@325a (4b9143bf)] WebDriverAgent successfully started after 57234ms
[XCUITestDriver@325a (4b9143bf)] Event 'wdaSessionAttempted' logged at 1701546988142 (01:26:28 GMT+0530 (India Standard Time))
[XCUITestDriver@325a (4b9143bf)] Sending createSession command to WDA
[XCUITestDriver@325a (4b9143bf)] Matched '/session' to command name 'createSession'
[XCUITestDriver@325a (4b9143bf)] Proxying [POST /session] to [POST http://127.0.0.1:8100/session] with body: {"capabilities":{"firstMatch":[{"bundleId":"com.driver-app.staging","arguments":[],"environment":{},"eventloopIdleDelaySec":0,"shouldWaitForQuiescence":true,"shouldUseTestManagerForVisibilityDetection":false,"maxTypingFrequency":60,"shouldUseSingletonTestManager":true,"shouldTerminateApp":true,"forceAppLaunch":true,"useNativeCachingStrategy":true,"forceSimulatorSoftwareKeyboardPresence":false}],"alwaysMatch":{}}}
[Xcode] 2023-12-03 01:26:28.170059+0530 WebDriverAgentRunner-Runner[18764:248624] Error Domain=FBSOpenApplicationServiceErrorDomain Code=4 "The request to open "com.driver-app.staging" failed." UserInfo={BSErrorCodeDescription=InvalidRequest, NSLocalizedDescription=The request to open "com.driver-app.staging" failed., FBSOpenApplicationRequestID=0x58d2, NSUnderlyingError=0x600000cec690 {Error Domain=FBSOpenApplicationErrorDomain Code=4 "Application info provider (FBSApplicationLibrary) returned nil for "com.driver-app.staging"" UserInfo={BSErrorCodeDescription=NotFound, NSLocalizedFailureReason=Application info provider (FBSApplicationLibrary) returned nil for "com.driver-app.staging"}}}
[Xcode]
[XCUITestDriver@325a (4b9143bf)] Got response with status 400: {"value":{"error":"invalid argument","message":"Error Domain=FBSOpenApplicationServiceErrorDomain Code=4 "The request to open "com.driver-app.staging" failed." UserInfo={BSErrorCodeDescription=InvalidRequest, NSLocalizedDescription=The request to open "com.driver-app.staging" failed., FBSOpenApplicationRequestID=0x58d2, NSUnderlyingError=0x600000cec690 {Error Domain=FBSOpenApplicationErrorDomain Code=4 "Application info provider (FBSApplicationLibrary) returned nil for "com.driver-app.staging"" UserInfo={BSErrorCodeDescription=NotFound, NSLocalizedFailureReason=Application info provider (FBSApplicationLibrary) returned nil for "com.driver-app.staging"}}}","traceback":"(\n\t0 CoreFoundation 0x000000018048d8a8 __exceptionPreprocess + 172\n\t1 libobjc.A.dylib 0x000000018008409c objc_exception_throw + 56\n\t2 WebDriverAgentLib 0x00000001013d84b4 swizzledLaunchApp + 1296\n\t3 XCUIAutomation ...
[W3C] Matched W3C error code 'invalid argument' to InvalidArgumentError
[XCUITestDriver@325a (4b9143bf)] Failed to create WDA session (Error Domain=FBSOpenApplicationServiceErrorDomain Code=4 "The request to open "com.driver-app.staging" failed." UserInfo={BSErrorCodeDescription=InvalidRequest, NSLocalizedDescription=The request to open "com.driver-app.staging" failed., FBSOpenApplicationRequestID=0x58d2, NSUnderlyingError=0x600000cec690 {Error Domain=FBSOpenApplicationErrorDomain Code=4 "Application info provider (FBSApplicationLibrary) returned nil for "com.driver-app.staging"" UserInfo={BSErrorCodeDescription=NotFound, NSLocalizedFailureReason=Application info provider (FBSApplicationLibrary) returned nil for "com.driver-app.staging"}}}). Retrying...
[XCUITestDriver@325a (4b9143bf)] Event 'wdaSessionAttempted' logged at 1701546989214 (01:26:29 GMT+0530 (India Standard Time))
[XCUITestDriver@325a (4b9143bf)] Sending createSession command to WDA
[XCUITestDriver@325a (4b9143bf)] Matched '/session' to command name 'createSession'
[XCUITestDriver@325a (4b9143bf)] Proxying [POST /session] to [POST http://127.0.0.1:8100/session] with body: {"capabilities":{"firstMatch":[{"bundleId":"com.driver-app.staging","arguments":[],"environment":{},"eventloopIdleDelaySec":0,"shouldWaitForQuiescence":true,"shouldUseTestManagerForVisibilityDetection":false,"maxTypingFrequency":60,"shouldUseSingletonTestManager":true,"shouldTerminateApp":true,"forceAppLaunch":true,"useNativeCachingStrategy":true,"forceSimulatorSoftwareKeyboardPresence":false}],"alwaysMatch":{}}}
[Xcode] t = 1.33s Open com.driver-app.staging
[Xcode]
[Xcode] t = 1.33s Launch com.driver-app.staging
[Xcode] t = 1.33s Open com.driver-app.staging
[Xcode]
[Xcode] t = 1.33s Launch com.driver-app.staging
[Xcode]
[Xcode] 2023-12-03 01:26:29.231643+0530 WebDriverAgentRunner-Runner[18764:248624] Error Domain=FBSOpenApplicationServiceErrorDomain Code=4 "The request to open "com.driver-app.staging" failed." UserInfo={BSErrorCodeDescription=InvalidRequest, NSLocalizedDescription=The request to open "com.driver-app.staging" failed., FBSOpenApplicationRequestID=0x4b57, NSUnderlyingError=0x600000cf93e0 {Error Domain=FBSOpenApplicationErrorDomain Code=4 "Application info provider (FBSApplicationLibrary) returned nil for "com.driver-app.staging"" UserInfo={BSErrorCodeDescription=NotFound, NSLocalizedFailureReason=Application info provider (FBSApplicationLibrary) returned nil for "com.driver-app.staging"}}}
[Xcode]
[XCUITestDriver@325a (4b9143bf)] Got response with status 400: {"value":{"error":"invalid argument","message":"Error Domain=FBSOpenApplicationServiceErrorDomain Code=4 "The request to open "com.driver-app.staging" failed." UserInfo={BSErrorCodeDescription=InvalidRequest, NSLocalizedDescription=The request to open "com.driver-app.staging" failed., FBSOpenApplicationRequestID=0x4b57, NSUnderlyingError=0x600000cf93e0 {Error Domain=FBSOpenApplicationErrorDomain Code=4 "Application info provider (FBSApplicationLibrary) returned nil for "com.driver-app.staging"" UserInfo={BSErrorCodeDescription=NotFound, NSLocalizedFailureReason=Application info provider (FBSApplicationLibrary) returned nil for "com.driver-app.staging"}}}","traceback":"(\n\t0 CoreFoundation 0x000000018048d8a8 __exceptionPreprocess + 172\n\t1 libobjc.A.dylib 0x000000018008409c objc_exception_throw + 56\n\t2 WebDriverAgentLib 0x00000001013d84b4 swizzledLaunchApp + 1296\n\t3 XCUIAutomation ...
[W3C] Matched W3C error code 'invalid argument' to InvalidArgumentError
[XCUITestDriver@325a (4b9143bf)] Failed to create WDA session (Error Domain=FBSOpenApplicationServiceErrorDomain Code=4 "The request to open "com.driver-app.staging" failed." UserInfo={BSErrorCodeDescription=InvalidRequest, NSLocalizedDescription=The request to open "com.driver-app.staging" failed., FBSOpenApplicationRequestID=0x4b57, NSUnderlyingError=0x600000cf93e0 {Error Domain=FBSOpenApplicationErrorDomain Code=4 "Application info provider (FBSApplicationLibrary) returned nil for "com.driver-app.staging"" UserInfo={BSErrorCodeDescription=NotFound, NSLocalizedFailureReason=Application info provider (FBSApplicationLibrary) returned nil for "com.driver-app.staging"}}}). Retrying...
[XCUITestDriver@325a (4b9143bf)] Event 'wdaSessionAttempted' logged at 1701546990239 (01:26:30 GMT+0530 (India Standard Time))
[XCUITestDriver@325a (4b9143bf)] Sending createSession command to WDA
[XCUITestDriver@325a (4b9143bf)] Matched '/session' to command name 'createSession'
[XCUITestDriver@325a (4b9143bf)] Proxying [POST /session] to [POST http://127.0.0.1:8100/session] with body: {"capabilities":{"firstMatch":[{"bundleId":"com.driver-app.staging","arguments":[],"environment":{},"eventloopIdleDelaySec":0,"shouldWaitForQuiescence":true,"shouldUseTestManagerForVisibilityDetection":false,"maxTypingFrequency":60,"shouldUseSingletonTestManager":true,"shouldTerminateApp":true,"forceAppLaunch":true,"useNativeCachingStrategy":true,"forceSimulatorSoftwareKeyboardPresence":false}],"alwaysMatch":{}}}
I have Seen that, when I starts the session first it is install the driver app and then it is install the WebDriverAgent app in the simulator and then it will remove the WebDriverAgent app and reinstall the WebDriverAgent again and then closed i
Beta Was this translation helpful? Give feedback.
All reactions