<h4>Lotus</h4>
What i want is to grab the Lotus Value from the h4 tag , in another post I got the answer using a javascript command as follow:
document.getElementById('17285').getElementsByTagName('h4')[0].innerHTML;
and it worked fine.
What i want to do now is to use this javascript in Selenium.
I tried the following Code :
MsgBox driver.executeScript("javascript:document.getElementById('17285').getElementsByTagName('h4')[0].innerHTML;")
but I get an empty messagebox, does anybody know why.
Thank you for your help !