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

Command prompt result in label. Python 2.7 -

javascript - How do I use URL parameters to change link href on page? -

amazon web services - AWS Route53 Trying To Get Site To Resolve To www -