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.
Script is running fine in Chrome but not in firefox ?
Hi Sahi Team/ All,
I have developed a script which is used to get all the links from a page and click each link 1 by 1.
Its working fine in chrome but when i run the same script in Firefox, it is displaying number of links is zero, .i.e no links in a page
I have used "install_sahi_v43_20130429.jar" this version, is there any problem with this version in getting links from page
Below is the script which i have used to get all the links in a page/ panel
Appreciate your co-operation in this regard.
I have developed a script which is used to get all the links from a page and click each link 1 by 1.
Its working fine in chrome but when i run the same script in Firefox, it is displaying number of links is zero, .i.e no links in a page
I have used "install_sahi_v43_20130429.jar" this version, is there any problem with this version in getting links from page
Below is the script which i have used to get all the links in a page/ panel
var $collection_SubReport = _collect("_link", "/./", _in(_div($rightPanelName)));
Appreciate your co-operation in this regard.
Answers
can u hlep me out pls
Using the same Sahi version as you, I have tried the following test script in Firefox 17 and Firefox 21 and they work correctly for me.
Which firefox version are you using?
Regards.
Im using "17.0.1" Firefox version, just now i have checked it, it is displaying links count as zero
Below is the code which i have used.