18 January 2026:


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.

Dynamic javascript menu redirection

edited November -1 in Sahi - Open Source
Hi all,
Some of out applications use a javascript menu that compose ( generate every time in the html code ) the requested url from the menu according to sessions parameters ( i.e. one url could be index_8765.html and another index_7639.html ).
We are trying to approach a full scan html in order to extract those lines.
Does anybody have a good idea about a similar scenario ?
Thanks
Ciao
Massimo

Comments

  • narayannarayan Administrators
    If that is the displayed text, and there is only one of those urls on the page,
    you could use _link(/index_.*.html/) to identify the link.
Sign In or Register to comment.