In XCUITest, My app webpage is developed using WKWebView. There is Textfield in the application and i tried tapping on the field using ID, label and child concept but nothing works. Always getting error element not found. Any work around please suggest. O

In XCUITest, My app webpage is developed using WKWebView. There is Textfield in the application and i tried tapping on the field using ID, label and child concept but nothing works. Always getting error element not found. Any work around please suggest. Only using Index i am able to tap. but that is not a proper way. Can anyone please suggest how can i identify the TextField Element in WKwebview page with proper ID or any property other then Index.

In XCUITest, My app webpage is developed using WKWebView. There is Textfield in the application and i tried tapping on the field using ID, label and child concept but nothing works. Always getting error element not found. Any work around please suggest. O
 
 
Q