Can anyone help me to read a label text from selenium webdriver
The for attribute value and label text are entirely different
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Assuming the label looks in HTML something like this:
then the WebElement will be best approached like this:
If this does not help please provide sample HTML of label which you are trying to fetch