robotframework-appiumlibrary icon indicating copy to clipboard operation
robotframework-appiumlibrary copied to clipboard

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

Open PatocheCS opened this issue 3 years ago • 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.

PatocheCS avatar Dec 05 '22 13:12 PatocheCS

Please share full code example @PatocheCS

serhatbolsu avatar Dec 19 '22 09:12 serhatbolsu

@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.

884105899 avatar Feb 09 '23 06:02 884105899

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.

emanlove avatar Sep 01 '25 14:09 emanlove