Can't return JS script results from iOS device (work with android)
Hi,
To test a webview based mobile application, I try to execute js command with keyword "Execute Script driver:return testing.module.getMyData();"
With Android Device I return correctly my liste of data but with iOS device, return seems doesn't work.
I don't understand why.
Please share full code example @PatocheCS
@serhatbolsu
Code:
Execute Script return document.getElementById("card_number").value="${card_info.card_number}"
Error:
Keyword 'AppiumLibrary.Execute Script' expected 1 non-named argument, got 0.
Due to lack of activity I am closing this ticket. If you feel this is still relevant please open a new one.
Note also that AppiumLibrary is currently going through some revisions to make it useful and compatible with current tools. If you want to see what we have planned review the milestones or reach out to the current maintainers.