18 January 2026:
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
This forum is now archived and is in read-only mode. Please continue discussions on our improved new Sahi Pro Community forum.
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
to get the h1 text
I have the below html code:
<td align="center" valign="top" bgcolor="#FFFFFF" scope="col">
<div id="cnt">
<h1>
Setup</h1>
<br />
<p>
</p>
I need to get the text "Setup". Any idea?
<td align="center" valign="top" bgcolor="#FFFFFF" scope="col">
<div id="cnt">
<h1>
Setup</h1>
<br />
<p>
</p>
I need to get the text "Setup". Any idea?
This discussion has been closed.
Comments
You can use this:
var $text = _getText(_heading1("Setup"));
_alert($text);
Regards
Sumitra
_alert($text);
Thanks and it works for me.