New answers tagged

0

I use this function with good results: static WebElement getElementsWithAlteratingNames(String PartialName, String Tag, WebDriver driver, String Attribute) { try { List<WebElement> Elements = driver.findElements(By.tagName(Tag)); String[] ElementStrings = new String[Elements.size()]; System.out.println(Elements.size()); ...


2

driver.ExecuteScript(string.Format("document.getElementById('cred-password-inputtext').value='{0}';",password)); This solution has resolved my problem.



Top 50 recent answers are included