Exemplo n.º 1
0
 public void UploadFile(string filePath)
 {
     Driver.FindElement(By.XPath(ContactPage.FilePathElement())).SendKeys(filePath);
     Thread.Sleep(5000);
     Driver.FindElement(By.XPath(ContactPage.UploadButtonElement())).Click();
 }