c# - How to open a keyboard in iOS using javascript? -


im testing ios device using appium c#.

i want open keyboard in ios when focusing textbox.

javascript: textboxelement.focus(); not working in ios device, tried open using below code

driver.executescript("target.frontmostapp().keyboard().typestring('whatever wanna write!')"); 

but shows exception,

an unknown server-side error occurred while processing command. original error: error while executing atom: can't find variable: target (status: 13) 


Comments

Popular posts from this blog

'hasOwnProperty' in javascript -

python - ValueError: No axis named 1 for object type <class 'pandas.core.series.Series'> -

java - How to provide dependency injections in Eclipse RCP 3.x? -