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 assert element with no id or xpath

vijaysaimsvijaysaims Members
edited November -1 in Sahi - Open Source
In the UI there is an element with no id or xpath. Hovering over the element shows properties which are not specific to the element. What I got with the firebug is

<div style="background-color:#4169E1; height:7px; width:100%">

Comments

  • Hi

    you can try to find a fixed element and use _in, _near and _under to get this div.
    Does this help or shall I explain more?

    Regards
    Wormi
Sign In or Register to comment.