Handling Read-Only, Disabled or Hidden Fields
Dive deeper into the advanced properties of text fields, and learn how to manipulate them using Selenium.
We'll cover the following...
Set a value to a read-only or disabled text field
Read only and disabled text fields are not editable and are shown differently in the browser. It is typically grayed out like:
An example of disabled and read-only text field on a web page
The HTML codes for above example are as follows:
Read only text field:
<input type="text"
...