How to findElements,What's the way in mobile test ?

how to findElements,What’s the way in mobile test ?

the method in web test is :
import org.openqa.selenium.By
import org.openqa.selenium.WebDriver
import org.openqa.selenium.WebElement

WebDriver driver = DriverFactory.getWebDriver()

driver.findElements(By.id())

but it doesn’t work in mobile test

@25093419

Sample code:

import org.openqa.selenium.By
import com.kms.katalon.core.mobile.keyword.internal.MobileDriverFactory
import io.appium.java_client.AppiumDriver

AppiumDriver driver = MobileDriverFactory.getDriver()
driver.findElements(By.id(...)) 

thank you very much :咧着嘴笑: