The same error under the same conditions as #357. Opening a new issue because that was closed as resolved by the author after the last visibility fix, so I'm assuming that this is a related, but different, root cause.
Relevant log:
[HTTP] --> GET /wd/hub/session/d0652778-1c1a-40ef-a61c-93e2674bad8b/source {}
[MJSONWP] Calling AppiumDriver.getPageSource() with args: ["d0652778-1c1a-40ef-a61c-9...
[debug] [XCUITest] Executing command 'getPageSource'
[JSONWP Proxy] Proxying [POST /source] to [POST http://localhost:8100/session/C34425C6-49B2-47B2-A2DC-894EF06195ED/source] with no body
[debug] [WebDriverAgent] Sim: Nov 14 09:39:09 vision XCTRunner[45364]: Enqueue Failure: UI Testing Failure - Failure fetching attributes for element <XCAccessib
ilityElement: 0x61000024c510> Device element: Error Domain=XCTestManagerErrorDomain Code=13 "Error copying attributes -25202" UserInfo={NSLocalizedDescription=Error copying attributes -25202} <unknown> 0 1
I'm happy to try any suggested code edits, but I don't know enough about obj-c or XCUI test itself to dig around too much on my own at the moment.
I'd also be happy to have missed a step in updating this project under Appium. I've followed the steps I outlined for a successful update in #317, as well as here and here
Try to merge this PR to your local source and then add _waitForNoAnimationsActive_ API call before to locate the corresponding element. It looks like XCTest does not like when one reads attributes while on-screen animation is active in the corresponding container. That is why it is necessary to make sure all the animations have been finished before to locate the corresponding element and read its attributes.
Thanks! I'll give that a shot today!
Nope.
I called that API before every call to page source, verified I got 200's back, and I still got
[HTTP] --> GET /wd/hub/session/c69af69b-91bf-4cda-b216-4eaa53bfcc7d/source {}
[MJSONWP] Calling AppiumDriver.getPageSource() with args: ["c69af69b-91bf-4cda-b216-4...
[debug] [XCUITest] Executing command 'getPageSource'
[JSONWP Proxy] Proxying [POST /source] to [POST http://localhost:8100/session/98821366-F49B-4B0C-9355-BD1EF1B0DEC6/source] with no body
[debug] [XCUITest] Waiting for WebDriverAgent server to finish loading...
[debug] [WebDriverAgent] Sim: Nov 16 15:04:04 vision XCTRunner[5398]: Enqueue Failure: UI Testing Failure - Failure fetching attributes for element <XCAccessibilityElement: 0x61000025af70> Device element: Error Domain=XCTestManagerErrorDomain Code=13 "Error copying attributes -25202" UserInfo={NSLocalizedDescription=Error copying attributes -25202} <unknown> 0 1
This particular spot is a gmail auth screen in a webview - there's really nothing animating.
The odd thing is that when this happens, subsequent page source requests go through immediately. If it helps debugging, the page source in this case is here.
screenshot to go along with the source:

What if you just add hardcoded sleep to make sure the webview has been successfully loaded before invoking getPageSource?
@toejough Can you change this method too always return NO and check if you still having this error?
always returning NO got me through my login screens so fast I wasn't ready for it! I've been trying to follow the visibility conversation - does this mean that there are some other checks to add to that method?
Personally, I can live with this. any incorrect visibility states that arise in my test code can be dealt with much more easily than those long timeouts.
Thank you very much for your attention and work on this!!
any update about this issue?
Hi all,
Any update for fixing of this issue. Our Automation is stuck due to this.
@prahlad06, @muratme Still in progress. You could help us by creating test case that will raise this issue in situation you are facing.
This is what I did for my local source and I don't see that bloody error anymore. Please try this patch for your local WDA sources and see whether the problem is fixed and there are no new issues pop up:
File WebDriverAgentLib/Categories/XCUIElement+FBIsVisible.m
replace the content of _(BOOL)fb_isVisible_ method with
- (BOOL)fb_isVisible
{
return !CGRectIsEmpty(self.frame) && !CGRectIsEmpty(self.visibleFrame);
}
I'll create a PR if you confirm the fix works and does not create additional problems with visibility detection.
ooh, I'll give this one a try today.
@mykola-mokhnach You will definitely have problems with iOS 9.x. As I already tried similar approach. Main problem was that lots of invisible cell were reported with frames in top right corner with proper size.
However I think in iOS 10.x it has good chance of working as Apple stopped reporting weird cell cases.
@marekcirkos What if we check the actual OS version and use the current approach for the old version only (9.X)? Anyway, more than 80% of WDA users already run their tests on 10.0+.
@toejough did the patch work for you?
@marekcirkos I did a small investigation on visibility detection. Actually, I see two problematic areas now.
The first situation is when an element is outside the viewport, like

This can be potentially solved by analysing main window frame size and check whether it intersects with target element's frame, but XCTest also sometimes logs errors when I try to receive _application_ property from a snapshot.
The second situation is the most tricky one:

The element here is just covered by another element. I have no idea about how to reliably detect visibility of such element properly, even having z-index property available.
We might also rely on _hittable_ option of XCUIElement class, but there is no such option for snapshots, which means we'll need to resolve the whole tree (or big part of it) to show visibility attribute value for /source command output or to generate an xml tree (since each node there also has visible attribute set), which is sloooow.
@mykola-mokhnach I am also having this issue with some additional strange behavior and I am a bit confused.
I am able to locate and interact with an element using a custom method in one area of the application I am testing, but am seeing some strange behavior using almost identical methods in other parts of the application. Here is the method that works:
public IWebElement GetMenuElement(int index)
{
try
{
return driver.FindElement(By.XPath(
string.Format("//XCUIElementTypeApplication[1]/XCUIElementTypeWindow[1]/XCUIElementTypeOther[1]/XCUIElementTypeOther[1]" +
"/XCUIElementTypeOther[1]/XCUIElementTypeOther[1]/XCUIElementTypeOther[1]/XCUIElementTypeOther[1]/XCUIElementTypeOther[1]" +
"/XCUIElementTypeTable[1]/XCUIElementTypeCell[{0}]/XCUIElementTypeButton[1]", index)));
}
catch (Exception e)
{
Debug.WriteLine("Failed to GetMenuElement(" + index + ") in " + this.ToString());
throw e;
}
}
This selects a button from a small list of buttons within a hamburger menu and does so flawlessly. The following method attempts to do essentially the same thing (however, in a larger list of elements) and gets stuck in an loop of POST requests and eventually fails.
public IWebElement GetProductQuickCartElement(int index)
{
try
{
return driver.FindElement(By.XPath(
string.Format("//XCUIElementTypeApplication[1]/XCUIElementTypeWindow[1]/XCUIElementTypeOther[1]" +
"/XCUIElementTypeOther[1]/XCUIElementTypeOther[2]/XCUIElementTypeOther[1]/XCUIElementTypeOther[1]" +
"/XCUIElementTypeOther[1]/XCUIElementTypeTable[1]/XCUIElementTypeCell[{0}]/XCUIElementTypeButton[1]", index)));
}
catch (Exception e)
{
Debug.WriteLine("Failed to GetProductQuickCartElement(" + index + ") in " + this.ToString());
throw e;
}
}
A full copy of the test logs can be seen here. Note that at line 496 it successfully uses the first method to locate an element.
Additionally, using the following method (almost identical to the other two, again) I receive an error:
public IWebElement GetMenuElement(int index)
{
try
{
return driver.FindElement(By.XPath(
string.Format("//XCUIElementTypeApplication[1]/XCUIElementTypeWindow[1]" +
"/XCUIElementTypeOther[1]/XCUIElementTypeOther[1]/XCUIElementTypeOther[1]" +
"/XCUIElementTypeOther[1]/XCUIElementTypeOther[1]/XCUIElementTypeTable[1]/XCUIElementTypeCell[{0}]", index)));
}
catch (Exception e)
{
Debug.WriteLine("Failed to GetMenuElement(" + index + ") in " + this.ToString());
throw e;
}
}
Error:
XCTRunner[1068]: Enqueue Failure: UI Testing Failure - Failure fetching attributes for element <XCAccessibilityElement: 0x608000248a30> Device element: Error Domain=XCTestManagerErrorDomain Code=13 "Error copying attributes -25202" UserInfo={NSLocalizedDescription=Error copying attributes -25202} <unknown> 0 1
Full log here.
I have tried using the workarounds mentioned in this thread (the patch mentioned by @mykola-mokhnach) and got this:
I would appreciate any help anyone may be able to offer in this area because while I have ways of working around this by getting the entire list of elements in a List<> by using "ClassName" attribute and selecting one by index, this is incredibly slow as some of the lists of elements I am working with can be very large. These custom methods speed up my tests significantly (which is why I created them) and I would like to be able to continue using them.
So for me, I've narrowed this issue down to table views that do paginated scrolling. We hit the server for the first 10 rows of data for the table and as you scroll down we hit the server to get the next 10 rows and so on until all of the rows have been retrieved.
From what I can tell, there seems to be some sort of automatic scrolling happening behind the scenes that is attempting to scroll the view to get all of the elements. The view in the app doesn't appear to be physically scrolling, but it is loading more elements. I know this because I can see the calls happening to the server and the appium inspector will eventually respond with hundreds of table cells even though I haven't physically done any scrolling in the app to retrieve the additional data rows. Until this auto scrolling process completes, appium appears to be "hung" and you can't find any other elements.
I'm not sure what I can do to get around this situation yet, but it's pretty consistent for me. Is there any way to stop this auto scrolling from happening? For the time being, I can add try/catches in my code with hard coded wait times, but that's a pretty poor way to do automated testing :/
@jediboy I've prepared a PR, which allows to wait properly until an animation is finished to avoid hardcoded timeouts. You can try to apply that patch to your local codebase and check whether it solves the issue with your tests.
Thanks @mykola-mokhnach .. assuming I applied the PR correctly, I'm still seeing that message in the log. Any idea why it's trying to do that auto scrolling of the view? My test is trying to tap on the first cell in the table but it's super slow because it loading every cell before it tries to tap the cell that I want.
@jediboy It's not just enough to apply it. You need to call this API before you do element lookup to make sure the animation is finished. It just allows to replace hardcoded sleeps with timed sleeps.
Regarding scrolling. WDA will try to automatically scroll to reach the destination cell if you try to click it and it is currently invisible. So try to scroll the view yourself first to make sure the destination cell is visible.
@mykola-mokhnach what if the cell is currently visible but I still see this issue? Is that also something WDA is trying to come up with a fix for? Also, any ETA for that please?
@KBhatti Less problematic visibility check is definitely what we want to achieve. However most likely it will take some time. As everything in OpenSource there is no ETA for this as people spend their private live time on this. Feel free to join discussion or pop some PRs, if you have some ideas.
@marekcirkos
`[Xcode] 2016-12-12 16:30:50.398 xcodebuild[68192:3423372] Error Domain=IDETestOperationsObserverErrorDomain Code=5 "Early unexpected exit, operation never finished bootstrapping - no restart will be attempted" UserInfo={NSLocalizedDescription=Early unexpected exit, operation never finished bootstrapping - no restart will be attempted}
[Xcode]
Testing failed:
Test target WebDriverAgentRunner encountered an error (Early unexpected exit, operation never finished bootstrapping - no restart will be attempted)
[Xcode] * TEST FAILED *
[XCUITest] xcodebuild exited with code '65' and signal 'null'
[XCUITest] Error: xcodebuild failed with code 65
at SubProcess.
at emitTwo (events.js:106:13)
at SubProcess.emit (events.js:191:7)
at ChildProcess.
at emitTwo (events.js:106:13)
at ChildProcess.emit (events.js:191:7)
at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
Error: xcodebuild failed with code 65
at SubProcess.
at emitTwo (events.js:106:13)
at SubProcess.emit (events.js:191:7)
at ChildProcess.
at emitTwo (events.js:106:13)
at ChildProcess.emit (events.js:191:7)
at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
[XCUITest] Shutting down sub-processes
[XCUITest] Shutting down Logger process (pid 68197)
[XCUITest] System log exited with code '0'
[debug] [XCUITest] Running ios real device reset flow
[debug] [XCUITest] Resetting simulator
[debug] [iOSLog] Stopping iOS log capture
(node:68124) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 4): Error: Can't stop process; it's not currently running
[MJSONWP] Encountered internal error running command: Error: xcodebuild failed with code 65
at SubProcess.
at emitTwo (events.js:106:13)
at SubProcess.emit (events.js:191:7)
at ChildProcess.
at emitTwo (events.js:106:13)
at ChildProcess.emit (events.js:191:7)
at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)`
@muratme That is unrelated. This is Xcode issue starting XCUITest.
For now I came up with this quick and dirty verification for visibility detection:
return !CGRectIsEmpty(self.frame) && !CGRectIsEmpty(self.visibleFrame) && (CGRectIntersectsRect(self.visibleFrame, self.application.frame) || ((self.application.interfaceOrientation == UIInterfaceOrientationLandscapeLeft || self.application.interfaceOrientation == UIInterfaceOrientationLandscapeRight) && self.application.frame.size.height > self.application.frame.size.width && CGRectIntersectsRect(self.visibleFrame, CGRectMake(0, 0, self.application.frame.size.height, self.application.frame.size.width))));
this also includes a workaround for XCTest bug with landscape mode. No more unexpected delays. The only problem there is that this verification cannot detect cases when one element covers another one in the UI (see my comment above with the screenshots). Probably, it would not be the case, if XCTest could properly calculate _visibleFrame_ property of a snapshot. I have even created a separate bug for Apple, but, as usually, no one knows when it could be fixed (if it can be fixed).
That's working. Thanks for the workaround.
@derinbay did you have to make that code change within the Appium code, or your app's source code?
@KBhatti I've changed the WebDriverAgent code that @mykola-mokhnach mentioned on the his last comment. The file is at /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgentLib/CategoriesXCUIElement+FBIsVisible.m
You don't need to change anything within your app's code for this one.
so @mykola-mokhnach I think we could do this change on our local machines...but if we run the same tests on a CI tool (Travis CI VM) for instance..this may not be doable?
This is just a workaround for you to continue development. You need to change this code line on all computers with appium on ci infrastracture, manually. If you have hundreds, you can try to fork the project and give that dependency. Or you can wait a for a fixed version.
Thanks @derinbay yeah seems to be enough work..I think from what I know..no one knows of any timeframe of when Appium would come out for a fix for this..
@KBhatti in this case it's not an Appium issue. We're waiting on a fix in this project. If you want to help research a fix, that'd be helpful.
@jlipps does 1.6.3 fix this issue as well? I guess this is what I was referring to on the other thread.
It may be unrelated so if this is not yet in 1.6.3 thats fine..was just making sure
I don't believe that @mykola-mokhnach's hack is in Appium. It would first need to be published in WDA.
@mykola-mokhnach This is awesome. visibility checks didn't work with views being covered by other views anyway. Can you pop a PR? I'll check that on our tests as well.
@marekcirkos I'd like to have this PR merged first, since the current implementation looks a bit ugly with this orientation workaround. And the mentioned PR contains one useful method to make it looking better: _FBAdjustDimensionsForApplication_
I would very appreciate it if you could dedicate some time to review at least this PR.
Hi all,
Any update for fixing of this issue. Our Automation is stuck due to this.
hoping for your help,thx
@mykola-mokhnach
- (BOOL)fb_isVisible
{
return !CGRectIsEmpty(self.frame) && !CGRectIsEmpty(self.visibleFrame) && (CGRectIntersectsRect(self.visibleFrame, self.application.frame) || ((self.application.interfaceOrientation == UIInterfaceOrientationLandscapeLeft || self.application.interfaceOrientation == UIInterfaceOrientationLandscapeRight) && self.application.frame.size.height > self.application.frame.size.width && CGRectIntersectsRect(self.visibleFrame, CGRectMake(0, 0, self.application.frame.size.height, self.application.frame.size.width))));
}
i also change the fun,but did't work .
still have this problem:
`
@marekcirkos @mykola-mokhnach are we planning to have this PR merged anytime soon? If so..is it going to be with Appium 1.6.4 or something?
@mykola-mokhnach I know we can apply this patch locally but any idea if any future release of Appium will include this? Only reason I ask is that I would want to run this on CI as well..other than just locally.
@KBhatti We don't have proper solution yet.
@marekcirkos that is fine I understand I can workaround with @mykola-mokhnach solution locally for the time being (I'm thinking thats what a lot of the folks are doing anyway). But whenever we do have a proper solution is it going to be part of a future Appium release?
If they pick it up, yes :)
@marcelerz you don't look too optimistic of it happening anytime soon..if at all :-)
Hi @marekcirkos @mykola-mokhnach and all
We have applied this patch
- (BOOL)fb_isVisible
{
return !CGRectIsEmpty(self.frame) && !CGRectIsEmpty(self.visibleFrame) && (CGRectIntersectsRect(self.visibleFrame, self.application.frame) || ((self.application.interfaceOrientation == UIInterfaceOrientationLandscapeLeft || self.application.interfaceOrientation == UIInterfaceOrientationLandscapeRight) && self.application.frame.size.height > self.application.frame.size.width && CGRectIntersectsRect(self.visibleFrame, CGRectMake(0, 0, self.application.frame.size.height, self.application.frame.size.width))));
}
It seems to solve the animation problem but it introduces another issue. It finds all the elements visible even if they are not displayed in the view port. In our case we check if an element is visible and if not we scroll down or up accordingly until it's visible. Therefore we cannot apply this solution.
Any updates about this issue? It's kind of blocking since we forced to introduce a lot of static delays in our tests and even with that sometimes our tests are hanging.
@limitcracker This problem with visibility detection has been already described above. You either have a workaround, that does not freeze your tests, but cannot detect invisible elements with 100% reliability or the current one, which creates unexpected delays.
There are no other solutions we can provide right now. You can ping Apple though, so they fix that thing in XCTest for us.
@marekcirkos please find consistent steps to reproduce the issue
https://github.com/appium/appium/issues/7034#issuecomment-275406036
@mykola-mokhnach Thanks so much your solution is working for me with Appium 1.6.3
Guys who is having problem use below code given by @mykola-mokhnach
/**
@implementation XCUIElement (FBIsVisible)
@end
@implementation XCElementSnapshot (FBIsVisible)
(BOOL)fb_isVisible
{
return !CGRectIsEmpty(self.frame) && !CGRectIsEmpty(self.visibleFrame) && (CGRectIntersectsRect(self.visibleFrame, self.application.frame) || ((self.application.interfaceOrientation == UIInterfaceOrientationLandscapeLeft || self.application.interfaceOrientation == UIInterfaceOrientationLandscapeRight) && self.application.frame.size.height > self.application.frame.size.width && CGRectIntersectsRect(self.visibleFrame, CGRectMake(0, 0, self.application.frame.size.height, self.application.frame.size.width))));
// if (CGRectIsEmpty(self.frame) || CGRectIsEmpty(self.visibleFrame)) {
// /*
// It turns out, that XCTest triggers
// Enqueue Failure: UI Testing Failure - Failure fetching attributes for element
//
// "Error copying attributes -25202" UserInfo={NSLocalizedDescription=Error copying attributes -25202}
// error in the log if we try to get visibility attribute for an element snapshot, which does not intersect with visible appication area
// or if it has zero width/height. Also, XCTest waits for 15 seconds after this line appears in the log, which makes /source command
// execution extremely slow for some applications.
// */
// return NO;
//
//
// }
// return [(NSNumber *)[self fb_attributeValue:FB_XCAXAIsVisibleAttribute] boolValue];
}
@end
Paste in ur file XCUIElement+FBIsVisible.m above code.
@Nischalapp I'm currently working on more flexible solution
you can merge the patch with your local source and set the "ALTERNATIVE_VISIBILITY_DETECTION" environment variable to "YES" to test the stuff.
@mykola-mokhnach how to set this flag and where to set this ALTERNATIVE_VISIBILITY_DETECTION
This is the same workaround, but just more elegant. Please update WDA to the most recent version before applying it:
@@ -9,6 +9,7 @@
#import "XCUIElement+FBIsVisible.h"
+#import "FBMathUtils.h"
#import "XCElementSnapshot+FBHelpers.h"
#import "XCTestPrivateSymbols.h"
@@ -29,18 +30,10 @@
- (BOOL)fb_isVisible
{
if (CGRectIsEmpty(self.frame) || CGRectIsEmpty(self.visibleFrame)) {
- /*
- It turns out, that XCTest triggers
- Enqueue Failure: UI Testing Failure - Failure fetching attributes for element
- <XCAccessibilityElement: 0x60000025f9e0> Device element: Error Domain=XCTestManagerErrorDomain Code=13
- "Error copying attributes -25202" UserInfo={NSLocalizedDescription=Error copying attributes -25202} <unknown> 0 1
- error in the log if we try to get visibility attribute for an element snapshot, which does not intersect with visible appication area
- or if it has zero width/height. Also, XCTest waits for 15 seconds after this line appears in the log, which makes /source command
- execution extremely slow for some applications.
- */
return NO;
}
- return [(NSNumber *)[self fb_attributeValue:FB_XCAXAIsVisibleAttribute] boolValue];
+ CGSize screenSize = FBAdjustDimensionsForApplication(self.application.frame.size, self.application.interfaceOrientation);
+ return CGRectIntersectsRect(self.visibleFrame, CGRectMake(0, 0, screenSize.width, screenSize.height));
}
@end
Known issues (all caused by XCTest bug about _visibleFrame_ property evaluation):
@mykola-mokhnach We tried this solution in master branch of WDA but we encountered many errors of type:
_[MJSONWP] Encountered internal error running command: ProxyRequestError: Could not proxy command to remote server. Original error: Error: ESOCKETTIMEDOUT
at JWProxy.proxy$ (../../../lib/jsonwp-proxy/proxy.js:126:13)
at tryCatch (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)
at GeneratorFunctionPrototype.invoke [as _invoke] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as throw] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21)
at GeneratorFunctionPrototype.invoke (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)
03/02/17 14:41:33 Stevia [RC IOSController$$EnhancerBySpringCGLIB$$d967cdf6@a7b8] ERROR - IOSLogger - An unknown server-side error occurred while processing the command. Original error: Could not proxy command to remote server. Original error: Error: ESOCKETTIMEDOUT (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 242.14 seconds_
Usually these errors happened when we supplied values in search of filter input fields that trigger a search or filter action. The strange think is that with the WDA version that is embedded with Appium 1.6.3 and the original patch we didn't have these kind of errors so often and especially in input search fields.
You can find below thew device log file from a crash:
deviceLog.txt
Also we applied the patch of your branch with ALTERNATIVE_VISIBILITY_DETECTION variable but with no luck.
We set it as env in the build settings of the WebDriveAgentRunner (see attachments)

Have we missed something?
Please use latest Appium release . Its working fine
https://discuss.appium.io/t/appium-1-6-4-beta-released/14543
On Fri, Feb 3, 2017 at 6:35 PM, ptsiakos77 notifications@github.com wrote:
@mykola-mokhnach https://github.com/mykola-mokhnach We tried this
solution in master branch of WDA but we encountered many errors of type:_[MJSONWP] Encountered internal error running command: ProxyRequestError:
Could not proxy command to remote server. Original error: Error:
ESOCKETTIMEDOUT at JWProxy.proxy$
(../../../lib/jsonwp-proxy/proxy.js:126:13) at tryCatch
(/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)
at GeneratorFunctionPrototype.invoke [as invoke]
(/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as throw]
(/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js💯21)
at GeneratorFunctionPrototype.invoke
(/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)
03/02/17 14:41:33 Stevia [RC
IOSController$$EnhancerBySpringCGLIB$$d967cdf6@a7b8] ERROR - IOSLogger - An
unknown server-side error occurred while processing the command. Original
error: Could not proxy command to remote server. Original error: Error:
ESOCKETTIMEDOUT (WARNING: The server did not provide any stacktrace
information) Command duration or timeout: 242.14 secondsUsually these errors happened when we supplied in search of filter input
fields that trigger a search or filter action. The strange think is that
with the WDA version that is embedded with Appium 1.6.3 and the original
patch we didn't have these kind of errors so often and especially in input
search fields.
You can find below thew device log file from a crash:
deviceLog.txt
https://github.com/facebook/WebDriverAgent/files/750522/deviceLog.txtAlso we applied the patch of your branch with ALTERNATIVE_VISIBILITY_DETECTION
variable but with no luck.
We set it as env in the build settings of the WebDriveAgentRunner (see
attachments)
[image: screen shot 2017-02-03 at 11 27 41 am]
https://cloud.githubusercontent.com/assets/6574160/22592345/10c88b2e-ea22-11e6-8fca-ee4c1fcdcebb.pngHave we missed something?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/facebook/WebDriverAgent/issues/372#issuecomment-277242171,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AJ9u3_G1M3VvR51KFk28pKfdDXbbhvgNks5rYyYIgaJpZM4Kyqzy
.
--
Nischal Sinha
Reach me : +919980072438
I am not sure that it solves the problems mentioned since from what it seems has not included something new from WDA side regarding the mentioned issues
Yes it's working fine I was also having same issue and was using with
workaround but now I downloaded latest version and it's working fine.
On 03-Feb-2017 8:15 PM, "ptsiakos77" notifications@github.com wrote:
I am not sure that it solves the problems mentioned since from what it
seems has not included something new from WDA side regarding the mentioned
issues—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/facebook/WebDriverAgent/issues/372#issuecomment-277264103,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AJ9u3_O8f_5tnVdtUUen3kZgniS9Xuwzks5rYz1-gaJpZM4Kyqzy
.
@Nischalapp @ptsiakos77 is appium 1.6.4 going to solve this issue? I would be surprised if that were the case since I thought this supposed to be a WDA fix.
@ptsiakos77 @mykola-mokhnach what should we try for now. Just have the latest appium version 1.6.3 and and inside it delete the wda and install the latest wda again using "npm install -g xcuitestdriver' ? @mykola-mokhnach should I try your latest elegant version..and with or without the "ALTERNATIVE_VISIBILITY_DETECTION" env. variable in xcode?
Appreciate and thanks in advance!
Yes please use latest version ya it's a wda fix but in latest appium this
is resolved . npm install -g appium
Uninstall the previous version
npm uninstall -g appium
On 04-Feb-2017 8:37 AM, "Kashif Bhatti" notifications@github.com wrote:
@Nischalapp https://github.com/Nischalapp @ptsiakos77
https://github.com/ptsiakos77 is appium 1.6.4 going to solve this
issue? I would be surprised if that were the case since I thought this
supposed to be a WDA fix.@ptsiakos77 https://github.com/ptsiakos77 @mykola-mokhnach
https://github.com/mykola-mokhnach what should we try for now. Just
have the latest appium version 1.6.3 and and inside it delete the wda and
install the latest wda again using "npm install -g xcuitestdriver' ?
@mykola-mokhnach https://github.com/mykola-mokhnach should I try your
latest elegant version..and with or without the "ALTERNATIVE_VISIBILITY_DETECTION"
env. variable in xcode?
Appreciate and thanks in advance!—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/facebook/WebDriverAgent/issues/372#issuecomment-277414143,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AJ9u3yMIjh59OqiWGhsprUW6bQE7H1y2ks5rY-t_gaJpZM4Kyqzy
.
@ptsiakos77 @mykola-mokhnach what should we try for now. Just have the latest appium version 1.6.3 and and inside it delete the wda and install the latest wda again using "npm install -g xcuitestdriver' ? @mykola-mokhnach should I try your latest elegant version..and with or without the "ALTERNATIVE_VISIBILITY_DETECTION" env. variable in xcode?
I saw this error message even though there are no animations on the screen and the code is paused in the debugger. Uninstalling appium and re-installing the latest as suggested here seems to help.
If I use just the latest Appium build, I see multiple messages in the log with this error:
2017-03-14 11:03:52:548 - [debug] [WebDriverAgent] Sim: Mar 14 11:03:52 mtvl138a3ed4a XCTRunner[96188]: Enqueue Failure: UI Testing Failure - Failure fetching attributes for element <XCAccessibilityElement: 0x608000449060> Device element: Error Domain=XCTestManagerErrorDomain Code=13 "Error copying attributes -25202" UserInfo={NSLocalizedDescription=Error copying attributes -25202} <unknown> 0 1
If I copy the WebDriverAgent into the corresponding subdirectory of the Appium installation
cp -R ~/projects/WebDriverAgent/* /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/
then the code seems to work better, mostly, but the inspectors cannot parse the page for analysis.
https://github.com/facebook/WebDriverAgent/commit/7d2896e9453b034ff69f777d594c91836c8c25f8 should fix the problem described in this issue.
@marekcirkos I have tried 7d2896e but the error still exists.
With the backtrace, it's likely that self.hitPoint is the cause.
-[__NSPlaceholderArray initWithObjects:count:]: attempt to insert nil object from objects[1]
0 CoreFoundation 0x000000010c064b0b __exceptionPreprocess + 171
1 libobjc.A.dylib 0x000000010bac9141 objc_exception_throw + 48
2 CoreFoundation 0x000000010bf795cd -[__NSPlaceholderArray initWithObjects:count:] + 269
3 CoreFoundation 0x000000010bf80314 +[NSArray arrayWithObjects:count:] + 52
4 XCTest 0x000000010b4c54f7 -[XCElementSnapshot(Hitpoint) _transformPoint:windowContextID:windowDisplayID:] + 133
5 XCTest 0x000000010b4c58e9 -[XCElementSnapshot(Hitpoint) hitPoint] + 386
6 WebDriverAgentLib 0x000000011d85be4a -[XCElementSnapshot(FBIsVisible) fb_isVisible] + 810
7 WebDriverAgentLib 0x000000011d8674fb -[XCElementSnapshot(WebDriverAttributes) isWDVisible] + 43
8 WebDriverAgentLib 0x000000011d858714 +[XCUIApplication(FBHelpers) dictionaryForElement:] + 1940
9 WebDriverAgentLib 0x000000011d8589e4 +[XCUIApplication(FBHelpers) dictionaryForElement:] + 2660
10 WebDriverAgentLib 0x000000011d8589e4 +[XCUIApplication(FBHelpers) dictionaryForElement:] + 2660
11 WebDriverAgentLib 0x000000011d8589e4 +[XCUIApplication(FBHelpers) dictionaryForElement:] + 2660
12 WebDriverAgentLib 0x000000011d8589e4 +[XCUIApplication(FBHelpers) dictionaryForElement:] + 2660
13 WebDriverAgentLib 0x000000011d8589e4 +[XCUIApplication(FBHelpers) dictionaryForElement:] + 2660
14 WebDriverAgentLib 0x000000011d8589e4 +[XCUIApplication(FBHelpers) dictionaryForElement:] + 2660
15 WebDriverAgentLib 0x000000011d8589e4 +[XCUIApplication(FBHelpers) dictionaryForElement:] + 2660
16 WebDriverAgentLib 0x000000011d8589e4 +[XCUIApplication(FBHelpers) dictionaryForElement:] + 2660
17 WebDriverAgentLib 0x000000011d8589e4 +[XCUIApplication(FBHelpers) dictionaryForElement:] + 2660
18 WebDriverAgentLib 0x000000011d8589e4 +[XCUIApplication(FBHelpers) dictionaryForElement:] + 2660
19 WebDriverAgentLib 0x000000011d8589e4 +[XCUIApplication(FBHelpers) dictionaryForElement:] + 2660
20 WebDriverAgentLib 0x000000011d8589e4 +[XCUIApplication(FBHelpers) dictionaryForElement:] + 2660
21 WebDriverAgentLib 0x000000011d8589e4 +[XCUIApplication(FBHelpers) dictionaryForElement:] + 2660
22 WebDriverAgentLib 0x000000011d857ebd -[XCUIApplication(FBHelpers) fb_tree] + 93
23 WebDriverAgentLib 0x000000011d868845 +[FBDebugCommands handleGetSourceCommand:] + 565
24 WebDriverAgentLib 0x000000011d85e683 -[FBRoute_TargetAction mountRequest:intoResponse:] + 179
25 WebDriverAgentLib 0x000000011d855404 __37-[FBWebServer registerRouteHandlers:]_block_invoke + 548
26 RoutingHTTPServer 0x000000011d8f8c18 -[RoutingHTTPServer handleRoute:withRequest:response:] + 136
27 RoutingHTTPServer 0x000000011d8f94fa __72-[RoutingHTTPServer routeMethod:withPath:parameters:request:connection:]_block_invoke + 47
28 libdispatch.dylib 0x000000010f1a3792 _dispatch_client_callout + 8
29 libdispatch.dylib 0x000000010f18c4e0 _dispatch_barrier_sync_f_slow_invoke + 292
30 libdispatch.dylib 0x000000010f1a3792 _dispatch_client_callout + 8
31 libdispatch.dylib 0x000000010f18b247 _dispatch_main_queue_callback_4CF + 1041
32 CoreFoundation 0x000000010c029909 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9
33 CoreFoundation 0x000000010bfefae4 __CFRunLoopRun + 2164
34 CoreFoundation 0x000000010bfef016 CFRunLoopRunSpecific + 406
35 Foundation 0x000000010b5b2480 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 274
36 Foundation 0x000000010b5b235b -[NSRunLoop(NSRunLoop) run] + 76
37 WebDriverAgentLib 0x000000011d8543e3 -[FBWebServer startServing] + 211
38 WebDriverAgentRunner 0x000000011cfe0254 -[UITestingUITests testRunner] + 100
39 CoreFoundation 0x000000010bfecc6c __invoking___ + 140
40 CoreFoundation 0x000000010bfecb40 -[NSInvocation invoke] + 320
41 XCTest 0x000000010b47d8e2 __24-[XCTestCase invokeTest]_block_invoke_2 + 491
42 XCTest 0x000000010b4bbf62 -[XCTestContext performInScope:] + 190
43 XCTest 0x000000010b47d6e4 -[XCTestCase invokeTest] + 254
44 XCTest 0x000000010b47dfb2 -[XCTestCase performTest:] + 565
45 XCTest 0x000000010b47b078 __27-[XCTestSuite performTest:]_block_invoke + 300
46 XCTest 0x000000010b47ac68 -[XCTestSuite _performProtectedSectionForTest:testSection:] + 29
47 XCTest 0x000000010b47ae4e -[XCTestSuite performTest:] + 214
48 XCTest 0x000000010b47b078 __27-[XCTestSuite performTest:]_block_invoke + 300
49 XCTest 0x000000010b47ac68 -[XCTestSuite _performProtectedSectionForTest:testSection:] + 29
50 XCTest 0x000000010b47ae4e -[XCTestSuite performTest:] + 214
51 XCTest 0x000000010b47b078 __27-[XCTestSuite performTest:]_block_invoke + 300
52 XCTest 0x000000010b47ac68 -[XCTestSuite _performProtectedSectionForTest:testSection:] + 29
53 XCTest 0x000000010b47ae4e -[XCTestSuite performTest:] + 214
54 XCTest 0x000000010b4c7a86 __44-[XCTTestRunSession runTestsAndReturnError:]_block_invoke + 40
55 XCTest 0x000000010b489f27 -[XCTestObservationCenter _observeTestExecutionForBlock:] + 574
56 XCTest 0x000000010b4c7925 -[XCTTestRunSession runTestsAndReturnError:] + 281
57 XCTest 0x000000010b465a50 -[XCTestDriver runTestsAndReturnError:] + 254
58 XCTest 0x000000010b4bf86e _XCTestMain + 559
59 CoreFoundation 0x000000010c00ab5c __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 12
60 CoreFoundation 0x000000010bfefe54 __CFRunLoopDoBlocks + 356
61 CoreFoundation 0x000000010bfef5ee __CFRunLoopRun + 894
62 CoreFoundation 0x000000010bfef016 CFRunLoopRunSpecific + 406
63 GraphicsServices 0x000000010e4b7a24 GSEventRunModal + 62
64 UIKit 0x000000010c4880d4 UIApplicationMain + 159
65 XCTRunner 0x000000010b3d588b XCTRunner + 6283
66 libdyld.dylib 0x000000010f1ec65d start + 1
@mykola-mokhnach so it works on my local machine after making your latest change. But if my tests are running somewhere else not local (like SauceLabs etc.) using appium 1.6.4 how do I incorporate the change in that cas?
@marekcirkos
@KBhatti these changes have been already incorporated into Appium 1.6.4-beta
Did fa1a7c5e575c54319593d0b5e033e59ccf34dfbc help with this issue? cc @mykola-mokhnach
@mykola-mokhnach I just got 1.6.4 installed today and most of the stuff works except one of these screens (am attaching the screenshot). The darkgray portion on the top-end of the screen - if we scroll it expands or contracts accordingly. If I need to validate or click on some acceibility ID from that portion it errors out (not being able to identify within 10 seconds)

@KBhatti Your issue has nothing to to with the current topic. Please ask questions in Appium forum instead.
@mykola-mokhnach my issue is actually very much related to this post. The message with the screenshot that I posted in my last post is an issue that I am facing AFTER installing Appium 1.6.4.
The irony is that the same test was working when I was using this previous fix of yours: @implementation XCElementSnapshot (FBIsVisible)
@KBhatti is your problem related to https://github.com/facebook/WebDriverAgent/issues/542?
Please use Appium 1.6.4 @beta . All issues will be resolved .
On Sat, Apr 15, 2017 at 10:11 AM, Kashif Bhatti notifications@github.com
wrote:
@mykola-mokhnach https://github.com/mykola-mokhnach my issue is
actually very much related to this post. The message with the screenshot
that I posted in my last post is an issue that I am facing AFTER installing
Appium 1.6.4.The irony is that the same test was working when I was using this previous
fix of yours: @implementation https://github.com/implementation
XCElementSnapshot (FBIsVisible)
- (BOOL)fb_isVisible
{
return !CGRectIsEmpty(self.frame) && !CGRectIsEmpty(self.visibleFrame)
&& (CGRectIntersectsRect(self.visibleFrame, self.application.frame) ||
((self.application.interfaceOrientation ==
UIInterfaceOrientationLandscapeLeft || self.application.interfaceOrientation
== UIInterfaceOrientationLandscapeRight) &&
self.application.frame.size.height > self.application.frame.size.width
&& CGRectIntersectsRect(self.visibleFrame, CGRectMake(0, 0,
self.application.frame.size.height, self.application.frame.size.
width))));
}
@end https://github.com/end—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/facebook/WebDriverAgent/issues/372#issuecomment-294271907,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AJ9u3y6iY_idKNb9uOAhz0asjHM_whKeks5rwEpvgaJpZM4Kyqzy
.
--
Nischal Sinha
Reach me : +919980072438
@mykola-mokhnach maybe I was not clear enough explaining my issue..so I'll put it in steps
So, some of the things may have been fixed with 1.6.4 but in this particular case, the older fix works, but not the 7d2896e. Hopefully that explains it better..please let me know if there is still confusion.
Just discovered that we are still having some issues with visibility check :/.
Yes, and some of it seems stuff that I was easily getting to work with 1.6.3...I keep getting "[__NSPlaceholderArray initWithObjects:count:]: attempt to insert nil object from objects[1]"
@mykola-mokhnach I would like to apply your fix locally. I go open up the WebDriverAgent project in Xcode and go to WebDriverAgent > PrivateHeaders > XCTest but I'm failing to find the file named XCUIElement+FBIsVisible.m. Could you anyone please help me locate it?
Also, do I simply paste this in there?
````
@@ -9,6 +9,7 @@
#import "XCUIElement+FBIsVisible.h"
+#import "FBMathUtils.h"
#import "XCElementSnapshot+FBHelpers.h"
#import "XCTestPrivateSymbols.h"
@@ -29,18 +30,10 @@
@end
Is there another alternative? I am on Appium version 1.6.4, but I know the problem is not with Appium. Is there a way to upgrade WebDriverAgent, or any other solution I should be trying?
Thank you for any help.
How is stuff now? Can we consider it fixed?
Based on the last comments, no? It'd be good if some of the other participants responded.
I'm responding because I opened the issue, but personally, I had to get things working so I wrote custom installation scripts to do the visibility code patching back in November.
If this is just waiting on me, you can close it, because I've been doing fine with that workaround, but it'd be good to hear from others who've had the problem if it's still a thing they fight with or not.
Not fixed, still hitting this issue
Enqueue Failure: UI Testing Failure - Failure fetching attributes for element Device element: Error Domain=XCTDaemonErrorDomain Code=13
WebDriverAgent --HEAD
Appium 1.6.4
Xcode 8.3
iOS 10.3.1
Yes i get the same issue in my app, with Appium 1.7.0
I'm facing this issue 100 % of times.
This is a blocker for us in executing automation on iOS 10.x and 11.x versions.
Any possible fix?
Has anyone came cross this situation:
Enqueue Failure: Failure getting snapshot Error Domain=XCTDaemonErrorDomain Code=9 "Error -25204 getting snapshot for element
I have the same issue when test opens menu with animation.
WDA starts hang after opening menu even when I do not send requests.
[Xcode] 2017-11-22 08:29:20.440897+0300 XCTRunner[16994:677063] Enqueue Failure: Failed to get snapshot within 15.0s /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgentRunner/UITestingUITests.m 37 1
[Xcode] 2017-11-22 08:29:35.500261+0300 XCTRunner[16994:677063] Enqueue Failure: (null) /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgentRunner/UITestingUITests.m 37 1
[Xcode] 2017-11-22 08:29:42.482745+0300 XCTRunner[16994:679727] Enqueue Failure: Failure getting snapshot Error Domain=com.apple.dt.xctest.automation-support.error Code=8 "Error getting main window -25216" UserInfo={NSLocalizedDescription=Error getting main window -25216} <unknown> 0 1
[Xcode] 2017-11-22 08:29:42.487595+0300 XCTRunner[16994:677063] Enqueue Failure: Neither attributes nor error returned /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgentRunner/UITestingUITests.m 37 1
[Xcode] 2017-11-22 08:29:42.487826+0300 XCTRunner[16994:677063] Enqueue Failure: Failure to determine system application: (null) /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgentRunner/UITestingUITests.m 37 1
[Xcode] 2017-11-22 08:29:42.512396+0300 XCTRunner[16994:677063] Enqueue Failure: Failure fetching attributes for element (null): Error Domain=XCTDaemonErrorDomain Code=9 "No AXElement found for (null)" UserInfo={NSLocalizedDescription=No AXElement found for (null)} /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgentRunner/UITestingUITests.m 37 1
[Xcode] 2017-11-22 08:29:42.512667+0300 XCTRunner[16994:677063] Enqueue Failure: Failure getting list of active applications: (null) /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgentRunner/UITestingUITests.m 37 1
[Xcode] t = 369.51s Find the Application "com.testapp" 0x1c40b75e0
Appium.app: 1.2.7 (1.2.7)
Appium CLI: 1.7.1
Desktop OS/version used to run Appium: 10.12.6(macOS Sierra)
Same issue occurs on my side too, throwing same logs mentioned by @shynkevich-alex
Struggling since a week to make it work. This happens when appium inspector is used to locate elements. Not sure which WDA version I am using. Havent yet updated to latest. Is it required to update WDA frequently?
LOGS:
[2017-12-12 02:21:00][Xcode] 2017-12-12 14:20:58.759763+0800 WebDriverAgentRunner-Runner[233:5923] Enqueue Failure: Failure fetching attributes for element pid: 53, elementOrHash.elementID: 4423314256.93: Error Domain=XCTDaemonErrorDomain Code=13 "Error copying attributes -25202" UserInfo={NSLocalizedDescription=Error copying attributes -25202} /Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgentRunner/UITestingUITests.m 37 1
[2017-12-12 02:21:00][Xcode] 2017-12-12 14:20:58.760688+0800 WebDriverAgentRunner-Runner[233:5923] Failed to fetch hit point for Other, 0x17418f220, traits: 8589934592, {{187.5, 379.0}, {0.5, 44.0}} - *** -[__NSPlaceholderArray initWithObjects:count:]: attempt to insert nil object from objects[1]
[2017-12-12 02:21:00][Xcode] 2017-12-12 14:20:58.769090+0800 WebDriverAgentRunner-Runner[233:5923] Enqueue Failure: Failure fetching attributes for element pid: 53, elementOrHash.elementID: 4423313840.92: Error Domain=XCTDaemonErrorDomain Code=13 "Error copying attributes -25202" UserInfo={NSLocalizedDescription=Error copying attributes -25202} /Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgentRunner/UITestingUITests.m 37 1
[2017-12-12 02:21:00][Xcode] 2017-12-12 14:20:58.770047+0800 WebDriverAgentRunner-Runner[233:5923] Failed to fetch hit point for Other, 0x17418f150, traits: 8589934592, {{187.5, 379.0}, {0.5, 44.0}} - *** -[__NSPlaceholderArray initWithObjects:count:]: attempt to insert nil object from objects[1]
[2017-12-12 02:21:00][Xcode] 2017-12-12 14:20:58.777984+0800 WebDriverAgentRunner-Runner[233:5923] Enqueue Failure: Failure fetching attributes for element pid: 53, elementOrHash.elementID: 4423314256.93: Error Domain=XCTDaemonErrorDomain Code=13 "Error copying attributes -25202" UserInfo={NSLocalizedDescription=Error copying attributes -25202} /Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgentRunner/UITestingUITests.m 37 1
[2017-12-12 02:21:00][Xcode] 2017-12-12 14:20:58.778818+0800 WebDriverAgentRunner-Runner[233:5923] Failed to fetch hit point for Other, 0x17418f220, traits: 8589934592, {{187.5, 379.0}, {0.5, 44.0}} - *** -[__NSPlaceholderArray initWithObjects:count:]: attempt to insert nil object from objects[1]
[2017-12-12 02:21:00][Xcode] 2017-12-12 14:20:58.786240+0800 WebDriverAgentRunner-Runner[233:5923] Enqueue Failure: Failure fetching attributes for element pid: 53, elementOrHash.elementID: 4363516560.90: Error Domain=XCTDaemonErrorDomain Code=13 "Error copying attributes -25202" UserInfo={NSLocalizedDescription=Error copying attributes -25202} /Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgentRunner/UITestingUITests.m 37 1
[2017-12-12 02:21:00][Xcode] 2017-12-12 14:20:58.787156+0800 WebDriverAgentRunner-Runner[233:5923] Failed to fetch hit point for Other, 0x17418f2f0, traits: 8589934592, {{188.0, 379.0}, {134.5, 44.0}} - *** -[__NSPlaceholderArray initWithObjects:count:]: attempt to insert nil object from objects[1]
[2017-12-12 02:21:00][Xcode] 2017-12-12 14:20:58.793398+0800 WebDriverAgentRunner-Runner[233:5923] Enqueue Failure: Failure fetching attributes for element pid: 53, elementOrHash.elementID: 4423287600.94: Error Domain=XCTDaemonErrorDomain Code=13 "Error copying attributes -25202" UserInfo={NSLocalizedDescription=Error copying attributes -25202} /Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgentRunner/UITestingUITests.m 37 1
Does anyone know how to resolve this?
@marekcirkos I just encountered this issue. Nothing more will be attempted to resolve this issue? Thanks
what is the resolution here ?? any updates ??
still facing the same issue. do we have any update on when this will be fixed?
@amit Can you provide the log and capabilities which you are using?
On Tue, 9 Apr, 2019, 7:48 PM amit-punjabi, notifications@github.com wrote:
still facing the same issue. do we have any update on when this will be
fixed?—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/facebook/WebDriverAgent/issues/372#issuecomment-481271517,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AJ9u3zCY-hGCBNKeYOg6PmA1u67E8Fdsks5vfKE-gaJpZM4Kyqzy
.