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

214
Views
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
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!