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.

Not able to clink on image type link

ripuripu Members
edited November -1 in Sahi - Open Source
I have a script that includes steps to clicks on one of the images in the page, this action should open up a new window.
_wait(100000)
_click(_image(30));

If I do not wait and simply click on step button in sahi controller, correct window pops ups. However If I let it run and click by itself, it clicks on some another image link and a window for that link[image] pops up. [Note : No other image has same name.]

Any suggestion/solution?

Comments

  • Hi,

    Try using the alternative Accessor that is visible in the sahi controller just below Accessor.
    Otherwise use DOM to identify and click the element.

    Regards,
    Pankaj.
  • The alternatice accessor worked. actually I tried that periviously also, I guess this time I was more confidient about it.
  • Great! :)
Sign In or Register to comment.