testproject-io / javascript-opensdk

TestProject OpenSDK for Node.js
Apache License 2.0
24 stars 16 forks source link

No findElements for AndroidDriver #41

Open vladburian1 opened 3 years ago

vladburian1 commented 3 years ago

findElements doesn't exist for AndroidDriver, but for chromeDriver it does exist. How to get a list of elements with the same identifier for mobile elements?

const driver = await new MobileBuilder(AndroidDriver).build();
driver.findElement() - exists
driver.findElements() - doesn't exist

const driver = new Builder().forBrowser('chrome').build();
driver.findElement() - exists
driver.findElements() - exists