Comments (4)
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.
@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.
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.
@KazuCocoa Great, thank you for the info
from appium.
Related Issues (20)
- _XCT_requestScreenshot in iOS 13.1.2 real device,doesn't work HOT 2
- bug: WDA getStatus keeps waiting when giving wdaLocalPort HOT 7
- [iOS] bug: executing script 'mobile: swipe' with no element specified fails proxying to unknown route /wda/swipe HOT 2
- [Feat]: if devicectl command can modify defaults HOT 3
- How can I download files from an iOS real device to my local automation project, i use Appium, webDriverIO, and TypeScript. I would appreciate any pieces of advice HOT 1
- Bypassing adb start-server When Connecting to a Remote ADB Host HOT 9
- bug: PointOption.tap cannot be performed on Xiaomi Redmi Note 12 Pro 5G. HOT 2
- bug: minor documentation syntax issue HOT 2
- npm i appium HOT 1
- Apps
- [Feat]:运行WebDriverAgent后出现的Automation Running hold both volume buttons to stop 这个提示如何修改文字内容 HOT 1
- [Feat]:"Automaton Running hold both volume buttons to stop" HOT 1
- Changing Language from iOS settings causes appium to crash and the change doesnt go through HOT 1
- Support prefs URL scheme for iOS devices HOT 6
- bug: Continuously getting alert text in webview HOT 2
- Can not see elements inside WebView Element with XCUITest on simulator(with UIAutomator2 it works) HOT 18
- bug: Error when interacting with elements on iOS HOT 8
- Not able to switch to Webview context HOT 5
- bug: <title> An unknown Server Side error occurred while processing the command HOT 1
- appium automation testing HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from appium.