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

223
Vistas
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 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