Example #1
0
 public void OpenBrowser(string username, string password)
 {
     browser = new Lapsoft_OneDriver(Browsers.Chrome);
     browser.GoToUrl(link);
     browser.FindElementById("txtUserName").SendKeys(username);
     browser.FindElementById("txtpassword").SendKeys(password);
 }
 private void OpenBrowser(string username, string password)
 {
     browser = new Lapsoft_OneDriver(Browsers.Chrome);
     browser.GoToUrl(link);
     browser.FindElementById("txtUserName").SendKeys(username);
     browser.FindElementById("txtpassword").SendKeys(password);
     // you probably want to click on something here
 }