18 January 2026:
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
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 _style
Hi
I want to use the API function _style
When I hover over a link the cursor changes from pointer to hand
I have tried the following: _assertEqual("hand",_style(_spandiv("Peterpan"),"cursor"));
the assertion fails.
I have a css file, which is mentioned in the html code, there is the class .link_active . How can I evalute the cursor property of this class in Sahi?
regards
escape
I want to use the API function _style
When I hover over a link the cursor changes from pointer to hand
I have tried the following: _assertEqual("hand",_style(_spandiv("Peterpan"),"cursor"));
the assertion fails.
I have a css file, which is mentioned in the html code, there is the class .link_active . How can I evalute the cursor property of this class in Sahi?
regards
escape
Comments
document.styleSheets[0].rules[168].style.cursor
.....
regards
escape
but in real life it changes to "hand" , because it is a mouse over event.
if you hover over the element the cursor changes because of the specification in the css.
Sahi don't get this
Have a look at http://www.w3schools.com/css/pr_class_cursor.asp too.