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