<textarea rows="7" cols="125" name="nomText1Line1" required="required"></textarea>
I tried using driver.findElement(By.name("nomText1Line1"));
didn't work
<textarea rows="7" cols="125" name="nomText1Line1" required="required"></textarea>
I tried using driver.findElement(By.name("nomText1Line1"));
didn't work
Copyright © 2021 Jogjafile Inc.
The way you mentioned is the easiest way to select your element. Are you sure there are no syntactical mistakes? This should work:
If you are trying to get the contents of the text area then something like this: