android - Is there a way to see the virtual keyboard presented and how can I close it with AndroidViewClient? -


after typing text on field (automatically androidviewclient) virtual keyboard remains on device screen.
if make dump culebra script on step not receive views related virtual keyboard receive views can't see since virtual keyboard hides them.
wish androidviewclient "see"/distinguish virtual keyboard.
, need how can close virtual keyboard androidviewclient (what command should use?)

upd included iskeyboardshown() method checks if virtual keyboard shown, works!
wrote method below.
acts back key event.

def back(self):     self.shell('input keyevent keycode_back')   

that's looking for!

if want dismiss keyboard:

def dismisskeyboard(self):     if self.iskeyboardshown():         self.device.press('keycode_back') 

Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

ios - Change Storyboard View using Seague -