Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

166
Vistas
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 Respuestas
Responde la pregunta

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 Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda