i tried this code with Saucelab
MutableCapabilities caps = new MutableCapabilities();
caps.setCapability("platformName", "Android");
caps.setCapability("appium:app", "storage:filename=app-debug.apk"); // The filename of the mobile app
caps.setCapability("appium:platformVersion", "12");
caps.setCapability("appium:deviceName", "Google Pixel 6");
caps.setCapability("appium:automationName", "FlutterIntegration");
MutableCapabilities sauceOptions = new MutableCapabilities();
sauceOptions.setCapability("username", "AUTHHH");
sauceOptions.setCapability("accessKey", "KEYY");
sauceOptions.setCapability("build", "appium-build-543R0");
sauceOptions.setCapability("name", "test1");
sauceOptions.setCapability("deviceOrientation", "PORTRAIT");
//sauceOptions.setCapability("appiumVersion", "stable");
caps.setCapability("sauce:options", sauceOptions);
URL url = null;
try {
url = new URL("https://ondemand.eu-central-1.saucelabs.com:443/wd/hub");
} catch (MalformedURLException e) {
throw new RuntimeException(e);
}
AndroidDriver driver = new AndroidDriver(url, caps);
WebElement edit = driver.findElement(FlutterBy.key("list1"));
edit.sendKeys("Hello");
but i got this error in IDE console
The provided automationName 'FlutterIntegration' is not supported. Supported automation names for platform 'ANDROID' are: [uiautomator1, uiautomator2, flutter]
what am i doing wrong ?
i tried this code with Saucelab
but i got this error in IDE console
The provided automationName 'FlutterIntegration' is not supported. Supported automation names for platform 'ANDROID' are: [uiautomator1, uiautomator2, flutter]
what am i doing wrong ?