Skip to content

Instantly share code, notes, and snippets.

--> POST /wd/hub/session/f396d279-d4f8-417d-94a8-c71c6a1830a0/elements
[HTTP] {"using":"accessibility id","value":"Allow"}
[XCUITestDriver@a9d1 (f396d279)] Calling AppiumDriver.findElements() with args: ["accessibility id","Allow","f396d279-d4f8-417d-94a8-c71c6a1830a0"]
[XCUITestDriver@a9d1 (f396d279)] Executing command 'findElements'
[XCUITestDriver@a9d1 (f396d279)] Valid locator strategies for this request: xpath, id, name, class name, -ios predicate string, -ios class chain, accessibility id, css selector
[XCUITestDriver@a9d1 (f396d279)] Waiting up to 0 ms for condition
[XCUITestDriver@a9d1 (f396d279)] Matched '/elements' to command name 'findElements'
[XCUITestDriver@a9d1 (f396d279)] Proxying [POST /elements] to [POST http://127.0.0.1:8100/session/0BBDCE51-2F31-474D-A2B8-08AB85AED979/elements] with body: {"using":"accessibility id","value":"Allow"}
[XCUITestDriver@a9d1 (f396d279)] Got response with status 200: {"value":[{"ELEMENT":"CB000000-0000-0000-DD74-000000000000","element-6066-11e4-a52e-4f735466cecf
[debug] [MJSONWP (be477d71)] Calling AppiumDriver.getPageSource() with args: ["be477d71-76bd-4b2c-8640-e0ee264997e1"]
[debug] [XCUITest] Executing command 'getPageSource'
[debug] [WD Proxy] Matched '/source' to command name 'getPageSource'
[debug] [WD Proxy] Proxying [GET /source] to [GET http://localhost:8100/session/E96C3E19-19D2-4AA5-86F4-26645A2079BB/source] with no body
[debug] [WD Proxy] Got response with status 200: {
[debug] [WD Proxy] "value" : "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<XCUIElementTypeApplication type=\"XCUIElementTypeApplication\" name=\"Work Team\" label=\"Work Team\" enabled=\"true\" visible=\"true\" x=\"0\" y=\"0\" width=\"375\" height=\"667\">\n <XCUIElementTypeWindow type=\"XCUIElementTypeWindow\" enabled=\"true\" visible=\"true\" x=\"0\" y=\"0\" width=\"375\" height=\"667\">\n <XCUIElementTypeOther type=\"XCUIElementTypeOther\" enabled=\"true\" visible=\"true\" x=\"0\" y=\"0\" width=\"375\" height=\"667\">\n <XCUIElementTypeOther type=\"XCUIElementTypeOther\" ena
[HTTP] --> POST /wd/hub/session
[HTTP] {"capabilities":{"alwaysMatch":{"appium:app":"/Users/myusername/Automation_Mobile/Mobile/IOS/Enrollment/../../Resources/myapp","appium:noReset":"false","appium:automationName":"XCUITest","appium:udid":"237a27def5afeadeac66b07fe4f3354646b8e93a","appium:deviceName":"iPhone","appium:platformVersion":"11.0","appium:wdaLocalPort":"8101","platformName":"iOS"},"firstMatch":[{}]},"desiredCapabilities":{"deviceName":"iPhone","wdaLocalPort":"8101","udid":"237a27def5afeadeac66b07fe4f3354646b8e93a","automationName":"XCUITest","noReset":"false","platformVersion":"11.0","platformName":"iOS","app":"/Users/myusername/Automation_Mobile/Mobile/IOS/Enrollment/../../Resources/myapp"}}
[debug] [W3C] Calling AppiumDriver.createSession() with args: [{"deviceName":"iPhone","wdaLocalPort":"8101","udid":"237a27def5afeadeac66b07fe4f3354646b8e93a","automationName":"XCUITest","noReset":"false","platformVersion":"11.0","platformName":"iOS","app":"/Users/myusername/Automation_Mobile/Mobile/IOS/Enrollm
${IOS-SECOND}= Open Application http://0.0.0.0:4726/wd/hub wdaLocalPort=8101 udid=${PARAMETER_SECOND_IOS_DEVICE} platformName=${PARAMETER_IOS_PLATFORM_NAME} platformVersion=${PARAMETER_IOS_PLATFORM_VERSION} deviceName=${PARAMETER_IOS_DEVICE_NAME} noReset=false automationName=XCUITest app=${CURDIR}/../../Resources/myapp.ipa
${MESSAGES-SECOND} = Open Application http://0.0.0.0:4728/wd/hub wdaLocalPort=8104 udid=${PARAMETER_SECOND_IOS_DEVICE} platformName=${PARAMETER_IOS_PLATFORM_NAME} platformVersion=${PARAMETER_IOS_PLATFORM_VERSION} deviceName=${PARAMETER_IOS_DEVICE_NAME} noReset=${PARAMETER_NO_RESET_FLAG} automationName=XCUITest bundleId=com.apple.MobileSMS
Switch Application ${IOS-SECOND}
Wait Until Page Contains Element My element
[HTTP] --> POST /wd/hub/session
[HTTP] {"capabilities":{"alwaysMatch":{"appium:app":"/Users/myusername/Automation_Mobile/Mobile/Resources/myapp.ipa","appium:noReset":"false","appium:automationName":"XCUITest","appium:udid":"237a27def5afeadeac66b07fe4f3354646b8e93a","appium:deviceName":"iPhone","appium:platformVersion":"11.0","platformName":"iOS"},"firstMatch":[{}]},"desiredCapabilities":{"deviceName":"iPhone","udid":"237a27def5afeadeac66b07fe4f3354646b8e93a","automationName":"XCUITest","noReset":"false","platformVersion":"11.0","platformName":"iOS","app":"/Users/myusername/Automation_Mobile/Mobile/Resources/myapp.ipa"}}
[debug] [W3C] Calling AppiumDriver.createSession() with args: [{"deviceName":"iPhone","udid":"237a27def5afeadeac66b07fe4f3354646b8e93a","automationName":"XCUITest","noReset":"false","platformVersion":"11.0","platformName":"iOS","app":"/Users/myusername/Automation_Mobile/Mobile/Resources/myapp.ipa"},null,{"alwaysMatch":{"appium:app":"/Users/myusername/Automation_Mobile/Mobile/Resources/myapp.ip