Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Old Code - FirefoxDriver.Navigate().GoToUrl("https://www.cv-library.co.uk/candidate/login");
- driver.Navigate().GoToUrl("https://www.cv-library.co.uk/candidate/login");
- //Wait for web element to become visible
- System.Threading.Thread.Sleep(15000);
- //Enter User Name - Email Address
- var user = driver.FindElement(By.Id("cand-login-left"));
- user.SendKeys("testsuccess761@gmail.com");
- //Enter Password - Account Pasword
- var pass = driver.FindElement(By.Id("cand-login-left"));
- pass.SendKeys("p@55word123!");
- //Click on Login button
- driver.FindElement(By.Id("cand-login-left")).Click();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement