Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

162
Visualizações
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 Respostas
Responde à pergunta

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 Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda