serhatbolsu/robotframework-appiumlibrary

Can't return JS script results from iOS device (work with android)

Opened this issue · 2 comments

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.