UI Assert Horizontal Scrollbar (sui:assert-horizontal-scrollbar)
UI Assert Horizontal Scrollbar (sui:assert-horizontal-scrollbar)
Compares the browser width with the width of HTML-Page-Content in the Body tag and asserts true if horizontal bar is present and false if not present.
Usage
<sui:assert-horizontal-scrollbar comparedValue=""! tolerance=""?/>
! - mandatory, ? - optional
Example
Example | Behaviour |
---|---|
<sui:assert-horizontal-scrollbar comparedValue="true" tolerance="1"/> | If comparedValue is "true" and horizontal scrollbar is available on page then Assert will pass else assertion error |
, multiple selections available,
Related content
UI Get Scrollbar Position (sui:get-scrollbar-position)
UI Get Scrollbar Position (sui:get-scrollbar-position)
More like this
UI Assert Alignment (sui:assert-alignment)
UI Assert Alignment (sui:assert-alignment)
More like this
UI Scroll To (sui:scroll-to)
UI Scroll To (sui:scroll-to)
More like this
UI Assert Position Compare (sui:assert-position-compare)
UI Assert Position Compare (sui:assert-position-compare)
More like this
UI Scroll To Element (sui:scroll-to-element)
UI Scroll To Element (sui:scroll-to-element)
More like this
x Deprecated - SUI Scroll To (sui:scroll-to) / deprecated!
x Deprecated - SUI Scroll To (sui:scroll-to) / deprecated!
Read with this