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.

How to use visible function

ShwethaShwetha Members
edited November -1 in Sahi - Open Source
Hi,
We need to check the visibility of some buttons in our UI. (not the existence) So can anyone please tell how to check it. I found a function named "visible" in Sahi. But I dont know how to use it. Please help.

Comments

  • dpdp Members
    You can use the _isVisible API to check if the specified element is visible or not. The below example returns true if the login button is visible

    _isVisible(_submit("login"));

    hope this helps
Sign In or Register to comment.