Answers

Question and Answer:

  Home  Automation

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

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

 154 views

More Questions for you: