This blog is for Automation Test Engineers

Saturday, 2 September 2017

How to click if a radio button is disable


WebDriver driver=new FirefoxDriver();
driver.get("https://www.facebook.com/");
((JavascriptExecutor)driver).executeScript("document.getElementByid("u_0_b").checked=false");


0

0 comments:

Post a Comment