mykola-mokhnach / Appium-iOS-Inspector

Apache License 2.0
145 stars 60 forks source link

Load so much time with iOS 11 #29

Closed danhitsgu closed 7 years ago

danhitsgu commented 7 years ago

I use it with iOS 10.3.3, it run and give me XPath very quickly. But in iOS 11, in screen which little element, it run ok, in screen more elements to get XPath, it can't give me XPath of this screen and wait to timeout (180s), i don't know why :( I just switch to another browser as Chrome, Firefox, Safari (ver11) Performance: iPAD air2, iOS 11

mykola-mokhnach commented 7 years ago

Because the inspector executes xpath queries on the cached tree instance and WebDriverAgent builds a new tree every time it is necessary to execute new xpath query. Simply avoid using xpath queries there: https://github.com/facebook/WebDriverAgent/wiki/How-To-Achieve-The-Best-Lookup-Performance

danhitsgu commented 7 years ago

Hi guy, Thanks for your support. The problem means it spends much time to show XPath like the image. It waiting much time, until 180s and time out, it doesn't show same with the image. But It works correctly with IPad which iOS 10.3.3 :( i don't know why :((

2017-11-08 17:50 GMT+07:00 Mykola Mokhnach notifications@github.com:

Closed #29 https://github.com/mykola-mokhnach/Appium-iOS-Inspector/issues/29.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/mykola-mokhnach/Appium-iOS-Inspector/issues/29#event-1331586663, or mute the thread https://github.com/notifications/unsubscribe-auth/AVEdA3SmRak441iYcekE3A1WeJAvqBZWks5s0YdhgaJpZM4QWI32 .

-- Trần Tuấn Danh -- 01655521114 LCH Trưởng LCH Sinh viên Khoa Công nghệ Thông tin Email: danh.it.sgu@gmail.com danh.it.sgu@gmail.com

mykola-mokhnach commented 7 years ago

Because of Xcode SDK update to version 9: https://github.com/facebook/WebDriverAgent/issues/639

danhitsgu commented 7 years ago

:(( Only Xcode 9 support for iOS 11 huhu Anyway, Thank you so much!

2017-11-08 21:39 GMT+07:00 Mykola Mokhnach notifications@github.com:

Because of Xcode SDK update to version 9: facebook/WebDriverAgent#639 https://github.com/facebook/WebDriverAgent/issues/639

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/mykola-mokhnach/Appium-iOS-Inspector/issues/29#issuecomment-342836751, or mute the thread https://github.com/notifications/unsubscribe-auth/AVEdA8Mp5ZjFLTFJfEmreLskJqA28Gaiks5s0b0JgaJpZM4QWI32 .

-- Trần Tuấn Danh -- 01655521114 LCH Trưởng LCH Sinh viên Khoa Công nghệ Thông tin Email: danh.it.sgu@gmail.com danh.it.sgu@gmail.com