Appium: 1.22.3
java-client : 8.2.0
Android: Real Device
Application Type: Native app
Not able to locate element when switched back to WebView from Native App second time.
When I tried to get app source, there no element presents in DOM, but element displayed on the screen. I also used setRecreateChromeDriverSessions(true), still the result is same.
<html xmlns="http://www.w3.org/1999/xhtml">
<head><title></title></head>
<body>
<form method="post" action="./TransactionResponse.aspx?StatusCode=0300&responseStatus=Success" id="form1">
<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwUJOTczNTMyNjI5ZGTniAV/yPnJN5tqXHG/i2qUqGCitpH4AbQklQfxT3Eoag==">
<input type="hidden" name="__VIEWSTATEGENERATOR" id="__VIEWSTATEGENERATOR" value="2C6BF5F3">
<div>
<span id="lblResponce"></span>
</div>
</form>
</body>
</html>
Attached here are the Appium Sever and ChromeDriver Log
AppiumServerAndChromeLog.txt (2.4 MB)