Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

161
Views
Trying to click enter on android keyboard

My tests run under browserstack with appium 1.20.2 and wdio 7.7.3 using javascript. I need to click on enter in the mobile (android) keyboard after entering a text in a field to go to another page.

I tried this:

driver.pressKeyCode(66);

But nothing happened. I only see the cursor moving inside the field that’s all. Just to precise the keyboard isn’t shown while the tests are running I don’t know if it’s the reason why nothing happened. I also tried this driver.execute('mobile: performEditorAction', {'action': 'done'});

I tried to click on the field before entering the email, I entered it and did the pressKeyCode(66) but nothing has worked. the app interface

Can anyone help me please?

Thank you

image

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

I have finally found a solution. It worked by using this command:

driver.execute('mobile: performEditorAction', {'action': 'Done'});

I wrote 'done' instead of 'Done' that's why it didn't work

This one hasn't worked for me driver.pressKeyCode(66);

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!