accessibility id not found for the html elements rendered via react-native-webview in Appium Inspector
Issue - In my react native app, while trying to inspect html content rendered through react-native-webview, via Appium Inspector, I am unable to find accessibility id's for the content displayed. Though, the same html when rendered in iOS, the accessibility id's are present there. In android, I am able to get the xpath & other details, but accessibility id's are not found. Do we need to add separate props or any other setting that needs to be done in order to access the testId's?
I am using Webview component as follows -
<WebView source={{ html, }} style={[webViewMarginStyle(), style.webViewOpacity]} webviewDebuggingEnabled={true} />
Any extra prop required or any javascript code that needs to be injected? This is a blocker for QA team, as they are unable to proceed with automation due to absence of testIds.
Hey community, any info over this?
Anyone know fix for this issue?
Hello, did you get a fix?
Nope, did not get it. Any fixes?
Hello 👋, this issue has been opened for more than 2 months with no activity on it. If the issue is still here, please keep in mind that we need community support and help to fix it! Just comment something like still searching for solutions and if you found one, please open a pull request! You have 7 days until this gets closed automatically