Tell us how do you get the width of the textbox?

Submitted by: Muhammad
You can get the width of the textbox by using the following command:

driver.findElement(By.xpath(“xpath of textbox ”)).getSize().getWidth();
driver.findElement(By.xpath(“xpath of textbox ”)).getSize().getHeight()
Submitted by: Muhammad

Read Online Automation Job Interview Questions And Answers