Get the child value of .getAttribute validity from a webpage in selenium
1
1
I am trying to get a value nested inside validity using selenium. I need to get the badInput field inside validity. validity child I have tried the following but I cant get the option after I use the getAttribute shown below: CreateNewAccountPage().password.getAttribute("Validity"). I need to get the child value but cannot see an option for this.
java html5 selenium xpath getattribute
share | improve this question
asked Nov 19 '18 at 13:57
jtoal436 jtoal436
11 4