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

216
Visualizações
WebdriverIO - unable to click an element for iPhone device on browserstack

I am running tests for iPhone safari on browser stack. But click command is not working for iPhone safari on browser stack Selector seems to find an element correctly, but click does nothing and no error,no action ,just silently not executing click.

Same test running perfectly with android device. Is there any issue from browser stack?

I have checked similar thinks in protractor and that has been resolved with JSclick

await browser.executeScript('arguments[0].click();', ele.getWebElement());

I was trying same thing in webdriverIO but getting error:Argument of type 'Element' is not assignable to parameter of type '(string | number | boolean | object)[]'. Type 'Element' is missing the following properties from type '(string | number | boolean | object)[]': length, pop, push, concat, and 28 more.ts(2345) const countryDropDown: WebdriverIO.Element

await browser.executeScript("arguments[0].click();",ele);

Is there any workaround for ele.getWebElement() in WebdriverIO? or any other bettor solution?

about 4 years ago · Juan Pablo Isaza
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