Automation Question:

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

Answer:

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()

Read All 108 Automation Questions
Previous QuestionNext Question
Please explain what is the hybrid framework?Do you know how to mouse hover an element in Selenium?