lundi 3 décembre 2018

Selenium Java : Text retrival from h1 tag

I am aware of .getAttribute("innerHTML") is one of the way to retrieve value of h1 tag but my html is like this :- enter image description here

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