[iOS][XCTest][Appium]Slow type speed in iOS 13 under XCUIElementTypeWebView elements inside UIWebView

I found slow send keys happened on XCTest framework layer. https://github.com/appium/appium/issues/13455#issuecomment-544072750

It took 5 sec every key type. It happened only elements under XCUIElementTypeWebView type. This happened only on iOS 13.

Quick workaround is typing keyboard directly. It means find keys by find element and tap it one by one. Then, it has no such delay.

[update]

According to https://github.com/appium/appium/issues/13455#issuecomment-544845536 , this behaviour happens only on UIWebView which is deprecated WebView type. WKWebView work fine.

[update]

Apple has been deprecated UIWebView in iOS 13, so developers must update WebViews to WKWebView. We can find various issues in the internet about the UIWebView such as crashing issues.

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.