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.

Security warning not recognized by SAHI

ganeshganesh Members
edited November -1 in Sahi - Open Source
On the web page I get a security warning window, this is noticed on most of the web pages.
Sahi does not recognize it. When running scripts in batch mode the test scripts fail.
I want to know is there a way where sahi can recognize and click on NO on this security warning.

Security warning: Do you want to view only the web page content that was delivered securely? Yes No.
Anyone please let me know how to handle this.

Thanks!

Comments

  • Hi Ganesh,

    It's not the issue with sahi, You need to fix issue related to Security certificates (https and SSL) . If you get some warnings on the page then there is some security issue on web page.

    look at the below post, you might get some idea as whats going wrong. I have a strong feeling that you are navigating to https pages.
    http://sahi.co.in/forums/viewtopic.php?id=1627
  • narayannarayan Administrators
    Hi Ganesh and Wasim,

    The error seems to be when the page originally has mixed content (some from http some from https). Is it the case in your application? Do you normally get that error even when not using Sahi? The only way to safely automate it is to turn it off using browser options. Most browsers have an option to suppress such warnings.

    Regards,
    Narayan
Sign In or Register to comment.