Open sushilpawar12 opened 1 year ago
What is the error? Please give full logs
when we are using iOS predicate & iOS class chain locator to find element or find elements then wait plugin is not working @saikrishna321
Give full logs please to check whats wrong. @sushilpawar12
Appium v - 2.0.0-beta.66 , xcuitest@4.24.3 , element-wait@1.3.0
@sushilpawar12 This is not full logs. Please provide full server logs as gist
Hi @saikrishna321 sorry for the delay . In logger file you can find text - "Please check below logs for reference" where below logs will be helpfull. op.txt
@sushilpawar12 hard to read these logs. Please provide as gist
[debug] [XCUITestDriver@1a9e (5f06c4da)] Calling AppiumDriver.findElements() with args: ["xpath","//XCUIElementTypeButton[contains(@name,'Heart') and contains(@name,'selected')]","5f06c4da-6fc1-486b-b694-909b33b49e47"] [AppiumDriver@1acc] Plugins which can handle cmd 'findElements': element-wait [AppiumDriver@1acc] Plugin element-wait is now handling cmd 'findElements' [AppiumDriver@1acc] Executing default handling behavior for command 'findElements' [debug] [XCUITestDriver@1a9e (5f06c4da)] Executing command 'findElements' [debug] [XCUITestDriver@1a9e (5f06c4da)] Valid locator strategies for this request: xpath, id, name, class name, -ios predicate string, -ios class chain, accessibility id, css selector [debug] [XCUITestDriver@1a9e (5f06c4da)] Waiting up to 40000 ms for condition [debug] [XCUITestDriver@1a9e (5f06c4da)] Matched '/elements' to command name 'findElements' [debug] [XCUITestDriver@1a9e (5f06c4da)] Proxying [POST /elements] to [POST http://127.0.0.1:8100/session/BF10DD05-C5BF-413B-8889-FF84AB42A317/elements] with body: {"using":"xpath","value":"//XCUIElementTypeButton[contains(@name,'Heart') and contains(@name,'selected')]"} [debug] [XCUITestDriver@1a9e (5f06c4da)] Got response with status 200: {"value":[],"sessionId":"BF10DD05-C5BF-413B-8889-FF84AB42A317"} [debug] [XCUITestDriver@1a9e (5f06c4da)] Waited for 547 ms so far [debug] [XCUITestDriver@1a9e (5f06c4da)] Matched '/elements' to command name 'findElements' [debug] [XCUITestDriver@1a9e (5f06c4da)] Proxying [POST /elements] to [POST http://127.0.0.1:8100/session/BF10DD05-C5BF-413B-8889-FF84AB42A317/elements] with body: {"using":"xpath","value":"//XCUIElementTypeButton[contains(@name,'Heart') and contains(@name,'selected')]"} [debug] [XCUITestDriver@1a9e (5f06c4da)] Got response with status 200: {"value":[],"sessionId":"BF10DD05-C5BF-413B-8889-FF84AB42A317"} [debug] [XCUITestDriver@1a9e (5f06c4da)] Waited for 1592 ms so far
Appium v - 2.0.0-beta.65 , xcuitest@4.24.2 , element-wait@1.3.0