Answers for "hide element selenium"

0

hide element selenium

public void hideElement(String xpath)
{
    WebElement element = driver.findElement(By.xpath(xpath));       
    ((JavascriptExecutor)driver).executeScript("arguments[0].style.visibility='hidden'", element);
}
Posted by: Guest on June-18-2020

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language