Code Monkey home page Code Monkey logo

Comments (4)

jlipps avatar jlipps commented on September 21, 2024
2024-01-31 09:09:24:055 - [Xcode] 2024-01-31 09:09:24.053439+0000 WebDriverAgentRunner-Runner[21384:80362] Cannot retrieve element attribute(s) (
2024-01-31 09:09:24:055 - [Xcode]     "XC_kAXXCAttributeIsElement"
2024-01-31 09:09:24:055 - [Xcode] ). Original error: Error Domain=com.apple.dt.xctest.automation-support.error Code=11 "Accessibility error kAXErrorIPCTimeout from AXUIElementCopyMultipleAttributeValues for 2016" UserInfo={accessibility-error=-25216, NSLocalizedDescription=Accessibility error kAXErrorIPCTimeout from AXUIElementCopyMultipleAttributeValues for 2016}
2024-01-31 09:09:24:055 - [Xcode]
2024-01-31 09:12:52:556 - [Xcode] 2024-01-31 09:12:52.542397+0000 WebDriverAgentRunner-Runner[21384:80362] Cannot retrieve element attribute(s) (
2024-01-31 09:12:52:556 - [Xcode]     "XC_kAXXCAttributeIsElement"
2024-01-31 09:12:52:557 - [Xcode] ). Original error: Error Domain=com.apple.dt.xctest.automation-support.error Code=11 "Accessibility error kAXErrorCannotComplete from AXUIElementCopyMultipleAttributeValues for 2016" UserInfo={accessibility-error=-25204, NSLocalizedDescription=Accessibility error kAXErrorCannotComplete from AXUIElementCopyMultipleAttributeValues for 2016}
2024-01-31 09:12:52:557 - [Xcode] 2024-01-31 09:12:52.548422+0000 WebDriverAgentRunner-Runner[21384:80362] Cannot retrieve element attribute(s) (
2024-01-31 09:12:52:557 - [Xcode]     "XC_kAXXCAttributeIsElement"
2024-01-31 09:12:52:557 - [Xcode] ). Original error: Error Domain=com.apple.dt.xctest.automation-support.error Code=11 "Accessibility error kAXErrorServerNotFound from AXUIElementCopyMultipleAttributeValues for 2016" UserInfo={accessibility-error=-25215, NSLocalizedDescription=Accessibility error kAXErrorServerNotFound from AXUIElementCopyMultipleAttributeValues for 2016}
2024-01-31 09:12:52:557 - [Xcode]

These kAX errors look like they're straight from Apple. Probably due to the app crash. The crash log doesn't mention appium or WDA, so I'm not sure how the issue can be related. Does your app function well under a normal non-WDA XCUITest?

from appium.

tking16 avatar tking16 commented on September 21, 2024

@jlipps Thanks for the response, not too knowledgeable on the developers testing frameworks but they seem to be passing, I showed the logs to lead iOS dev and pointed out the _accessibilityVisiblePointHitTestingAnyElement, it's probably not WDA related but I have updated xcuitest-driver to v5 and I haven't seen this issue occurring on that version bump yet

from appium.

KazuCocoa avatar KazuCocoa commented on September 21, 2024

Basically, visible calculation is expensive. In case it occurred when you called /source endpoint (e.g. driver.page_source), pageSourceExcludedAttributes settings with visible might help. Then Appium/WDA does not calculate the visibility for the page source endpoint call.
https://appium.github.io/appium-xcuitest-driver/5.15/reference/settings/

https://appium.github.io/appium-xcuitest-driver/5.15/reference/execute-methods/#mobile-source with excludedAttributes instead of page_source also would help to do the same thing.

from appium.

tking16 avatar tking16 commented on September 21, 2024

@KazuCocoa Great, thank you for the info

from appium.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.