A new session could not be created. (Original error: Could not determine your device. You sent in a platformName capability of 'andriod' but that is not a supported platform. Supported platforms are: iOS, Android and FirefoxOS)

package test;

import java.net.MalformedURLException;
import java.net.URL;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.remote.DesiredCapabilities;
import org.openqa.selenium.remote.RemoteWebDriver;
import org.testng.annotations.BeforeClass;
import org.testng.annotations.Test;

public class Mrl {

WebDriver driver;

public void Lanuch() throws MalformedURLException {
	DesiredCapabilities capabilities = new DesiredCapabilities();

	capabilities.setCapability("DeviceName", "TA9330GHQJ");
	capabilities.setCapability("Version", "5.1");
	driver = new RemoteWebDriver(new URL(""),

public void test() {



Please Advice how to resolve this issues in my script

Spelling. It’s Android.

1 Like

Lol, yup “Android” is needed bud

Yeah… it is … thnx for correction it works…