0

Below is my code running script through TestNG. It fails to find the web element username and the error I get (screenshot attached). Please advise.

enter image description here @Test

System.setProperty("webdriver.chrome.driver", "C:/Selenium/chromedriver.exe");
WebDriver Driver = new ChromeDriver();
String baseURL = "http://mapp.com";
Driver.get(baseURL);
String UserName = "*****";
String Password = "*****";
WebElement username = Driver.findElement(By.cssSelector("input#Login"));
Cena
  • 3,316
  • 2
  • 17
  • 34
Rocky
  • 51
  • 1
  • 4

0 Answers0