I am not able to locate element of a textbox and it is showing "element is not visible" error.
I am using below code:
WebElement elem=webObj.findElement(By.xpath(".//*[starts-with(@id,'yui')]"));
String str="arguments[0].style.visibility='visible';";
((JavascriptExecutor) webObj).executeScript(str, elem);
elem.sendKeys("Test");
Please help