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.

alert using broswer.execute()

eshwineshwin Members
edited November -1 in Sahi - Open Source
OS Name -window server
Browser Name-Mozila 3.6.28
Sahi Build: 2011-07-19

Hi,
I want to click on one button which opens the alert winodw.I have recorded it using sahi
than i got this
_click(_button("Click here>>"));
_expectConfirm("Are you sure you are ok?", true);

so can I use this in browser.execute(_click(_button("Click here>>"))) method

because I am trying with browser.button("Click here>>").click();here it is not working
so I am trying with execute().
Sign In or Register to comment.