WDIO - isDisplayed() method discrepencies in local & remote machines

80 Views Asked by At

cont elements = "list".filter(ele=> ele.isDisplayed());

Problem statement: I am trying to get the list of displayed elements in WDIO, but currently its returning all elements in the list.

Note: Filter works fine in local machine, but not working in remote machine.

In order to get only displayed elements, Can you please suggest me the options ? Why i m seeing the different behavior in different machines ?

Appreciate if any hints

0

There are 0 best solutions below