I am aware of .getAttribute("innerHTML") is one of the way to retrieve value of h1 tag but my html is like this :-
I can reach h1 tag but not able to reach innerHTML.
I want to retrieve text from innerHTML using selenium webdriver in java
Aucun commentaire:
Enregistrer un commentaire