myseleniumtraining
This blog is for Automation Test Engineers
Home
Friday, 16 March 2018
How to get size of object
WebDriver driver= new FirefoxDriver();
driver.get("https://www.google.com"):
WebElement button=driver.findElement(By.name("btnK"));
System.out.print(button.getSize());
Email This
BlogThis!
Share to X
Share to Facebook
By Chai on March 16, 2018
0
Newer Post
Older Post
Home
0 comments:
Post a Comment
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment