I am login to a website using Selenium and ChromeDriver. But website login details are shown as incorrect every time. But I have manually logged into the site using Chrome browser easily.
How do I login to the website using Selenium and ChromeDriver without issue?
Code:
IWebDriver driver = new ChromeDriver(service, options);
driver.Navigate().GoToUrl("https://www.textnow.com/login");
driver.FindElement(By.Name("username")).SendKeys("pankajsingh42@gmail.com");
driver.FindElement(By.Name("password")).SendKeys("*********");
driver.FindElement(By.Id("btn-login")).Click();
Page example: