I am trying to access a login form(web view) in a mobile app using flutter to write my automation test case. Tha native elements are accessible but when i try to access the elements on the webview within a frame, it doesnt allow me to access the element.
Please help if anyone has faced similar issue.
I tried using the following but no luck:
final webScraper = WebScraper('https://webscraper.io');
List<Map<String, dynamic>> emailField = webScraper.getElement('iframe>div.form-container>h2', ['heading']);
Also, the html of the login form looks like below (all of it is in an iframe):