Browser Accessor Functions
Form Input Elements
Section titled “Form Input Elements”_password
Section titled “_password”- Since
- Sahi Pro 3.5
| API | _password(identifier [, relation1 [, relation2 ...]]) |
|---|---|
| Tag | Tag: INPUT of type: password |
| HTML | |
| Identifiers | name, id, sahiLabel, css class, data-testid, index |
| Relations | Relational functions _in, _near, _leftOf, _rightOf, _under, _above can be used. ![]() |
| Value | value (this is the default attribute used in assertions etc.) |
| Actions | Default event recorded is _setValue |
| Assertions | Example assertions: |
_radioGroup
Section titled “_radioGroup”- Since
- Sahi Pro 11.0.0
| API | _radioGroup(identifier [, relation1 [, relation2 ...]]) |
|---|---|
| Tag | Tag: INPUT of type: radio |
| HTML | |
| Identifiers | id, name, value, sahiLabel, css class, data-testid, index |
| Relations | Relational functions _in, _near, _leftOf, _rightOf, _under, _above can be used. ![]() |
| Value | _sahi.getSelectValueFn (this is the default attribute used in assertions etc.) |
| Actions | Default event recorded is _setSelected |
| Assertions | Example assertions: |
_textbox
Section titled “_textbox”- Since
- Sahi Pro 3.5
| API | _textbox(identifier [, relation1 [, relation2 ...]]) |
|---|---|
| Tag | Tag: INPUT of type: text |
| HTML | |
| Identifiers | aria-label, name, id, sahiLabel, css class, data-testid, index |
| Relations | Relational functions _in, _near, _leftOf, _rightOf, _under, _above can be used. ![]() |
| Value | value (this is the default attribute used in assertions etc.) |
| Actions | Default event recorded is _setValue |
| Assertions | Example assertions: |
_hidden
Section titled “_hidden”- Since
- Sahi Pro 3.5
| API | _hidden(identifier [, relation1 [, relation2 ...]]) |
|---|---|
| Tag | Tag: INPUT of type: hidden |
| HTML | |
| Identifiers | name, id, css class, sahiLabel, data-testid, index |
| Relations | Relational functions _in, _near, _leftOf, _rightOf, _under, _above can be used. ![]() |
| Value | value (this is the default attribute used in assertions etc.) |
| Actions | Default event recorded is _setValue |
| Assertions | Example assertions: |
_datebox
Section titled “_datebox”- Since
- Sahi Pro 3.5
| API | _datebox(identifier [, relation1 [, relation2 ...]]) |
|---|---|
| Tag | Tag: INPUT of type: date |
| HTML | |
| Identifiers | name, id, sahiLabel, index, css class, data-testid |
| Relations | Relational functions _in, _near, _leftOf, _rightOf, _under, _above can be used. ![]() |
| Value | value (this is the default attribute used in assertions etc.) |
| Actions | Default event recorded is _setValue |
| Assertions | Example assertions: |
_datetimebox
Section titled “_datetimebox”- Since
- Sahi Pro 3.5
| API | _datetimebox(identifier [, relation1 [, relation2 ...]]) |
|---|---|
| Tag | Tag: INPUT of type: datetime |
| HTML | |
| Identifiers | name, id, sahiLabel, index, css class, data-testid |
| Relations | Relational functions _in, _near, _leftOf, _rightOf, _under, _above can be used. ![]() |
| Value | value (this is the default attribute used in assertions etc.) |
| Actions | Default event recorded is _setValue |
| Assertions | Example assertions: |
_datetimelocalbox
Section titled “_datetimelocalbox”- Since
- Sahi Pro 3.5
| API | _datetimelocalbox(identifier [, relation1 [, relation2 ...]]) |
|---|---|
| Tag | Tag: INPUT of type: datetime-local |
| HTML | |
| Identifiers | name, id, sahiLabel, index, css class, data-testid |
| Relations | Relational functions _in, _near, _leftOf, _rightOf, _under, _above can be used. ![]() |
| Value | value (this is the default attribute used in assertions etc.) |
| Actions | Default event recorded is _setValue |
| Assertions | Example assertions: |
_emailbox
Section titled “_emailbox”- Since
- Sahi Pro 3.5
| API | _emailbox(identifier [, relation1 [, relation2 ...]]) |
|---|---|
| Tag | Tag: INPUT of type: email |
| HTML | |
| Identifiers | name, id, sahiLabel, index, css class, data-testid |
| Relations | Relational functions _in, _near, _leftOf, _rightOf, _under, _above can be used. ![]() |
| Value | value (this is the default attribute used in assertions etc.) |
| Actions | Default event recorded is _setValue |
| Assertions | Example assertions: |
_monthbox
Section titled “_monthbox”- Since
- Sahi Pro 3.5
| API | _monthbox(identifier [, relation1 [, relation2 ...]]) |
|---|---|
| Tag | Tag: INPUT of type: month |
| HTML | |
| Identifiers | name, id, sahiLabel, index, css class, data-testid |
| Relations | Relational functions _in, _near, _leftOf, _rightOf, _under, _above can be used. ![]() |
| Value | value (this is the default attribute used in assertions etc.) |
| Actions | Default event recorded is _setValue |
| Assertions | Example assertions: |
_numberbox
Section titled “_numberbox”- Since
- Sahi Pro 3.5
| API | _numberbox(identifier [, relation1 [, relation2 ...]]) |
|---|---|
| Tag | Tag: INPUT of type: number |
| HTML | |
| Identifiers | name, id, sahiLabel, index, css class, data-testid |
| Relations | Relational functions _in, _near, _leftOf, _rightOf, _under, _above can be used. ![]() |
| Value | value (this is the default attribute used in assertions etc.) |
| Actions | Default event recorded is _setValue |
| Assertions | Example assertions: |
_rangebox
Section titled “_rangebox”- Since
- Sahi Pro 3.5
| API | _rangebox(identifier [, relation1 [, relation2 ...]]) |
|---|---|
| Tag | Tag: INPUT of type: range |
| HTML | |
| Identifiers | name, id, sahiLabel, index, css class, data-testid |
| Relations | Relational functions _in, _near, _leftOf, _rightOf, _under, _above can be used. ![]() |
| Value | value (this is the default attribute used in assertions etc.) |
| Actions | Default event recorded is _setValue |
| Assertions | Example assertions: |
_searchbox
Section titled “_searchbox”- Since
- Sahi Pro 3.5.2
| API | _searchbox(identifier [, relation1 [, relation2 ...]]) |
|---|---|
| Tag | Tag: INPUT of type: search |
| HTML | |
| Identifiers | name, id, sahiLabel, index, css class, data-testid |
| Relations | Relational functions _in, _near, _leftOf, _rightOf, _under, _above can be used. ![]() |
| Value | value (this is the default attribute used in assertions etc.) |
| Actions | Default event recorded is _setValue |
| Assertions | Example assertions: |
_telephonebox
Section titled “_telephonebox”- Since
- Sahi Pro 4.2
| API | _telephonebox(identifier [, relation1 [, relation2 ...]]) |
|---|---|
| Tag | Tag: INPUT of type: tel |
| HTML | |
| Identifiers | name, id, sahiLabel, index, css class, data-testid |
| Relations | Relational functions _in, _near, _leftOf, _rightOf, _under, _above can be used. ![]() |
| Value | value (this is the default attribute used in assertions etc.) |
| Actions | Default event recorded is _setValue |
| Assertions | Example assertions: |
_timebox
Section titled “_timebox”- Since
- Sahi Pro 3.5
| API | _timebox(identifier [, relation1 [, relation2 ...]]) |
|---|---|
| Tag | Tag: INPUT of type: time |
| HTML | |
| Identifiers | name, id, sahiLabel, index, css class, data-testid |
| Relations | Relational functions _in, _near, _leftOf, _rightOf, _under, _above can be used. ![]() |
| Value | value (this is the default attribute used in assertions etc.) |
| Actions | Default event recorded is _setValue |
| Assertions | Example assertions: |
_urlbox
Section titled “_urlbox”- Since
- Sahi Pro 3.5
| API | _urlbox(identifier [, relation1 [, relation2 ...]]) |
|---|---|
| Tag | Tag: INPUT of type: url |
| HTML | |
| Identifiers | name, id, sahiLabel, index, css class, data-testid |
| Relations | Relational functions _in, _near, _leftOf, _rightOf, _under, _above can be used. ![]() |
| Value | value (this is the default attribute used in assertions etc.) |
| Actions | Default event recorded is _setValue |
| Assertions | Example assertions: |
_weekbox
Section titled “_weekbox”- Since
- Sahi Pro 3.5
| API | _weekbox(identifier [, relation1 [, relation2 ...]]) |
|---|---|
| Tag | Tag: INPUT of type: week |
| HTML | |
| Identifiers | name, id, sahiLabel, index, css class, data-testid |
| Relations | Relational functions _in, _near, _leftOf, _rightOf, _under, _above can be used. ![]() |
| Value | value (this is the default attribute used in assertions etc.) |
| Actions | Default event recorded is _setValue |
| Assertions | Example assertions: |
_textarea
Section titled “_textarea”- Since
- Sahi Pro 3.5
| API | _textarea(identifier [, relation1 [, relation2 ...]]) |
|---|---|
| Tag | Tag: TEXTAREA |
| HTML | |
| Identifiers | name, id, sahiLabel, index, css class, data-testid |
| Relations | Relational functions _in, _near, _leftOf, _rightOf, _under, _above can be used. ![]() |
| Value | value (this is the default attribute used in assertions etc.) |
| Actions | Default event recorded is _setValue |
| Assertions | Example assertions: |
Button Like Elements
Section titled “Button Like Elements”_button
Section titled “_button”- Since
- Sahi Pro 3.5
| API | _button(identifier [, relation1 [, relation2 ...]]) |
|---|---|
| Tag | Tag: INPUT of type: button |
| HTML | |
| Identifiers | newAttribute, value, name, id, title|alt, sahiLabel, index, css class, data-testid |
| Relations | Relational functions _in, _near, _leftOf, _rightOf, _under, _above can be used. ![]() |
| Value | value (this is the default attribute used in assertions etc.) |
| Actions | Default event recorded is _click |
| Assertions | Example assertions: |
_button
Section titled “_button”- Since
- Sahi Pro 3.5
| API | _button(identifier [, relation1 [, relation2 ...]]) |
|---|---|
| Tag | Tag: BUTTON of type: button |
| HTML | |
| Identifiers | visible text, name, id, title|alt, css class, data-testid, index |
| Relations | Relational functions _in, _near, _leftOf, _rightOf, _under, _above can be used. ![]() |
| Value | visible text (this is the default attribute used in assertions etc.) |
| Actions | Default event recorded is _click |
| Assertions | Example assertions: |
_checkbox
Section titled “_checkbox”- Since
- Sahi Pro 3.5
| API | _checkbox(identifier [, relation1 [, relation2 ...]]) |
|---|---|
| Tag | Tag: INPUT of type: checkbox |
| HTML | |
| Identifiers | name, id, value, sahiLabel, css class, data-testid, index |
| Relations | Relational functions _in, _near, _leftOf, _rightOf, _under, _above can be used. ![]() |
| Value | checked (this is the default attribute used in assertions etc.) |
| Actions | Default event recorded is _click |
| Assertions | Example assertions: |
_radio
Section titled “_radio”- Since
- Sahi Pro 3.5
| API | _radio(identifier [, relation1 [, relation2 ...]]) |
|---|---|
| Tag | Tag: INPUT of type: radio |
| HTML | |
| Identifiers | id, name, value, sahiLabel, css class, data-testid, index |
| Relations | Relational functions _in, _near, _leftOf, _rightOf, _under, _above can be used. ![]() |
| Value | checked (this is the default attribute used in assertions etc.) |
| Actions | Default event recorded is _click |
| Assertions | Example assertions: |
_submit
Section titled “_submit”- Since
- Sahi Pro 3.5
| API | _submit(identifier [, relation1 [, relation2 ...]]) |
|---|---|
| Tag | Tag: INPUT of type: submit |
| HTML | |
| Identifiers | value, name, sahiLabel, id, title|alt, css class, data-testid, index |
| Relations | Relational functions _in, _near, _leftOf, _rightOf, _under, _above can be used. ![]() |
| Value | value (this is the default attribute used in assertions etc.) |
| Actions | Default event recorded is _click |
| Assertions | Example assertions: |
_submit
Section titled “_submit”- Since
- Sahi Pro 3.5
| API | _submit(identifier [, relation1 [, relation2 ...]]) |
|---|---|
| Tag | Tag: BUTTON of type: submit |
| HTML | |
| Identifiers | visible text, name, id, title|alt, css class, data-testid, index |
| Relations | Relational functions _in, _near, _leftOf, _rightOf, _under, _above can be used. ![]() |
| Value | visible text (this is the default attribute used in assertions etc.) |
| Actions | Default event recorded is _click |
| Assertions | Example assertions: |
_reset
Section titled “_reset”- Since
- Sahi Pro 3.5
| API | _reset(identifier [, relation1 [, relation2 ...]]) |
|---|---|
| Tag | Tag: INPUT of type: reset |
| HTML | |
| Identifiers | value, name, id, sahiLabel, css class, data-testid, index |
| Relations | Relational functions _in, _near, _leftOf, _rightOf, _under, _above can be used. ![]() |
| Value | value (this is the default attribute used in assertions etc.) |
| Actions | Default event recorded is _click |
| Assertions | Example assertions: |
_reset
Section titled “_reset”- Since
- Sahi Pro 3.5
| API | _reset(identifier [, relation1 [, relation2 ...]]) |
|---|---|
| Tag | Tag: BUTTON of type: reset |
| HTML | |
| Identifiers | visible text, name, id, css class, data-testid, index |
| Relations | Relational functions _in, _near, _leftOf, _rightOf, _under, _above can be used. ![]() |
| Value | visible text (this is the default attribute used in assertions etc.) |
| Actions | Default event recorded is _click |
| Assertions | Example assertions: |
_imageSubmitButton
Section titled “_imageSubmitButton”- Since
- Sahi Pro 3.5
| API | _imageSubmitButton(identifier [, relation1 [, relation2 ...]]) |
|---|---|
| Tag | Tag: INPUT of type: image |
| HTML | |
| Identifiers | title|alt, name, id, sahiFileName, sahiLabel, index, css class, data-testid |
| Relations | Relational functions _in, _near, _leftOf, _rightOf, _under, _above can be used. ![]() |
| Value | (this is the default attribute used in assertions etc.) |
| Actions | Default event recorded is _click |
| Assertions | Example assertions: |
Dropdowns
Section titled “Dropdowns”_select
Section titled “_select”- Since
- Sahi Pro 3.5
| API | _select(identifier [, relation1 [, relation2 ...]]) |
|---|---|
| Tag | Tag: SELECT |
| HTML | |
| Identifiers | name, id, sahiLabel, index, css class, data-testid |
| Relations | Relational functions _in, _near, _leftOf, _rightOf, _under, _above can be used. ![]() |
| Value | optionText (this is the default attribute used in assertions etc.) |
| Actions | Default event recorded is _setSelected |
| Assertions | Example assertions: |
_option
Section titled “_option”- Since
- Sahi Pro 3.5
| API | _option(identifier [, relation1 [, relation2 ...]]) |
|---|---|
| Tag | Tag: OPTION |
| HTML | |
| Identifiers | visible text, value, id, data-testid, index |
| Relations | Relational functions _in, _near, _leftOf, _rightOf, _under, _above can be used. ![]() |
| Value | visible text (this is the default attribute used in assertions etc.) |
| Actions | Default event recorded is _ |
| Assertions | Example assertions: |
File Uploads
Section titled “File Uploads”- Since
- Sahi Pro 3.5
| API | _file(identifier [, relation1 [, relation2 ...]]) |
|---|---|
| Tag | Tag: INPUT of type: file |
| HTML | |
| Identifiers | name, id, sahiLabel, index, css class, data-testid |
| Relations | Relational functions _in, _near, _leftOf, _rightOf, _under, _above can be used. ![]() |
| Value | value (this is the default attribute used in assertions etc.) |
| Actions | Default event recorded is _setFile |
| Assertions | Example assertions: |
Table Elements
Section titled “Table Elements”_table
Section titled “_table”- Since
- Sahi Pro 3.5
| API | _table(identifier [, relation1 [, relation2 ...]]) |
|---|---|
| Tag | Tag: TABLE |
| HTML | |
| Identifiers | id, css class, data-testid, index |
| Relations | Relational functions _in, _near, _leftOf, _rightOf, _under, _above can be used. ![]() |
| Value | visible text (this is the default attribute used in assertions etc.) |
| Actions | Default event recorded is |
| Assertions | Example assertions: |
- Since
- Sahi Pro 3.5
| API | _row(identifier [, relation1 [, relation2 ...]]) |
|---|---|
| Tag | Tag: TR |
| HTML | |
| Identifiers | id, css class, visible text, data-testid, index |
| Relations | Relational functions _in, _near, _leftOf, _rightOf, _under, _above can be used. ![]() |
| Value | visible text (this is the default attribute used in assertions etc.) |
| Actions | Default event recorded is _click |
| Assertions | Example assertions: |
- Since
- Sahi Pro 3.5
| API | _cell(identifier [, relation1 [, relation2 ...]]) |
|---|---|
| Tag | Tag: TD |
| HTML | |
| Identifiers | visible text, id, css class, index, data-testid |
| Relations | Relational functions _in, _near, _leftOf, _rightOf, _under, _above can be used. ![]() |
| Value | visible text (this is the default attribute used in assertions etc.) |
| Actions | Default event recorded is _click |
| Assertions | Example assertions: |
_tableHeader
Section titled “_tableHeader”- Since
- Sahi Pro 3.5
| API | _tableHeader(identifier [, relation1 [, relation2 ...]]) |
|---|---|
| Tag | Tag: TH |
| HTML | |
| Identifiers | visible text, id, css class, data-testid |
| Relations | Relational functions _in, _near, _leftOf, _rightOf, _under, _above can be used. ![]() |
| Value | visible text (this is the default attribute used in assertions etc.) |
| Actions | Default event recorded is _click |
| Assertions | Example assertions: |
Other HTML Tags
Section titled “Other HTML Tags”- Since
- Sahi Pro 3.5
| API | _link(identifier [, relation1 [, relation2 ...]]) |
|---|---|
| Tag | Tag: A |
| HTML | |
| Identifiers | visible text, title|alt, id, index, href, css class, data-testid |
| Relations | Relational functions _in, _near, _leftOf, _rightOf, _under, _above can be used. ![]() |
| Value | visible text (this is the default attribute used in assertions etc.) |
| Actions | Default event recorded is _click |
| Assertions | Example assertions: |
_image
Section titled “_image”- Since
- Sahi Pro 3.5
| API | _image(identifier [, relation1 [, relation2 ...]]) |
|---|---|
| Tag | Tag: IMG |
| HTML | |
| Identifiers | title|alt, id, sahiFileName, index, css class, data-testid |
| Relations | Relational functions _in, _near, _leftOf, _rightOf, _under, _above can be used. ![]() |
| Value | (this is the default attribute used in assertions etc.) |
| Actions | Default event recorded is _click |
| Assertions | Example assertions: |
_label
Section titled “_label”- Since
- Sahi Pro 3.5
| API | _label(identifier [, relation1 [, relation2 ...]]) |
|---|---|
| Tag | Tag: LABEL |
| HTML | |
| Identifiers | visible text, id, css class, data-testid, index |
| Relations | Relational functions _in, _near, _leftOf, _rightOf, _under, _above can be used. ![]() |
| Value | visible text (this is the default attribute used in assertions etc.) |
| Actions | Default event recorded is _click |
| Assertions | Example assertions: |
_listItem
Section titled “_listItem”- Since
- Sahi Pro 3.5
| API | _listItem(identifier [, relation1 [, relation2 ...]]) |
|---|---|
| Tag | Tag: LI |
| HTML | |
| Identifiers | visible text, id, css class, data-testid, index |
| Relations | Relational functions _in, _near, _leftOf, _rightOf, _under, _above can be used. ![]() |
| Value | visible text (this is the default attribute used in assertions etc.) |
| Actions | Default event recorded is _click |
| Assertions | Example assertions: |
- Since
- Sahi Pro 3.5
| API | _list(identifier [, relation1 [, relation2 ...]]) |
|---|---|
| Tag | Tag: UL |
| HTML | |
| Identifiers | id, css class, data-testid, index |
| Relations | Relational functions _in, _near, _leftOf, _rightOf, _under, _above can be used. ![]() |
| Value | visible text (this is the default attribute used in assertions etc.) |
| Actions | Default event recorded is _click |
| Assertions | Example assertions: |
- Since
- Sahi Pro 3.5
| API | _list(identifier [, relation1 [, relation2 ...]]) |
|---|---|
| Tag | Tag: OL |
| HTML | |
| Identifiers | id, css class, data-testid, index |
| Relations | Relational functions _in, _near, _leftOf, _rightOf, _under, _above can be used. ![]() |
| Value | visible text (this is the default attribute used in assertions etc.) |
| Actions | Default event recorded is _click |
| Assertions | Example assertions: |
- Since
- Sahi Pro 3.5
| API | _div(identifier [, relation1 [, relation2 ...]]) |
|---|---|
| Tag | Tag: DIV |
| HTML | |
| Identifiers | visible text, id, aria-label, css class, data-testid, index |
| Relations | Relational functions _in, _near, _leftOf, _rightOf, _under, _above can be used. ![]() |
| Value | visible text (this is the default attribute used in assertions etc.) |
| Actions | Default event recorded is _click |
| Assertions | Example assertions: |
- Since
- Sahi Pro 3.5
| API | _span(identifier [, relation1 [, relation2 ...]]) |
|---|---|
| Tag | Tag: SPAN |
| HTML | |
| Identifiers | visible text, id, css class, data-testid, index |
| Relations | Relational functions _in, _near, _leftOf, _rightOf, _under, _above can be used. ![]() |
| Value | visible text (this is the default attribute used in assertions etc.) |
| Actions | Default event recorded is _click |
| Assertions | Example assertions: |
_fieldset
Section titled “_fieldset”- Since
- Sahi Pro 5.1.0
| API | _fieldset(identifier [, relation1 [, relation2 ...]]) |
|---|---|
| Tag | Tag: FIELDSET |
| HTML | |
| Identifiers | name, id, css class, sahiLegendText, data-testid, index, disabled |
| Relations | Relational functions _in, _near, _leftOf, _rightOf, _under, _above can be used. ![]() |
| Value | visible text (this is the default attribute used in assertions etc.) |
| Actions | Default event recorded is _ |
| Assertions | Example assertions: |
_datalist
Section titled “_datalist”- Since
- Sahi Pro 9.2.0
| API | _datalist(identifier [, relation1 [, relation2 ...]]) |
|---|---|
| Tag | Tag: DATALIST |
| HTML | |
| Identifiers | name, id, index, css class, data-testid |
| Relations | Relational functions _in, _near, _leftOf, _rightOf, _under, _above can be used. ![]() |
| Value | visible text (this is the default attribute used in assertions etc.) |
| Actions | Default event recorded is _setValueFromList |
| Assertions | Example assertions: |
_heading1
Section titled “_heading1”- Since
- Sahi Pro 3.5
| API | _heading1(identifier [, relation1 [, relation2 ...]]) |
|---|---|
| Tag | Tag: H1 |
| HTML | |
| Identifiers | visible text, id, css class, data-testid, index |
| Relations | Relational functions _in, _near, _leftOf, _rightOf, _under, _above can be used. ![]() |
| Value | visible text (this is the default attribute used in assertions etc.) |
| Actions | Default event recorded is _click |
| Assertions | Example assertions: |
_heading2
Section titled “_heading2”- Since
- Sahi Pro 3.5
| API | _heading2(identifier [, relation1 [, relation2 ...]]) |
|---|---|
| Tag | Tag: H2 |
| HTML | |
| Identifiers | visible text, id, css class, data-testid, index |
| Relations | Relational functions _in, _near, _leftOf, _rightOf, _under, _above can be used. ![]() |
| Value | visible text (this is the default attribute used in assertions etc.) |
| Actions | Default event recorded is _click |
| Assertions | Example assertions: |
_heading3
Section titled “_heading3”- Since
- Sahi Pro 3.5
| API | _heading3(identifier [, relation1 [, relation2 ...]]) |
|---|---|
| Tag | Tag: H3 |
| HTML | |
| Identifiers | visible text, id, css class, data-testid, index |
| Relations | Relational functions _in, _near, _leftOf, _rightOf, _under, _above can be used. ![]() |
| Value | visible text (this is the default attribute used in assertions etc.) |
| Actions | Default event recorded is _click |
| Assertions | Example assertions: |
_heading4
Section titled “_heading4”- Since
- Sahi Pro 3.5
| API | _heading4(identifier [, relation1 [, relation2 ...]]) |
|---|---|
| Tag | Tag: H4 |
| HTML | |
| Identifiers | visible text, id, css class, data-testid, index |
| Relations | Relational functions _in, _near, _leftOf, _rightOf, _under, _above can be used. ![]() |
| Value | visible text (this is the default attribute used in assertions etc.) |
| Actions | Default event recorded is _click |
| Assertions | Example assertions: |
_heading5
Section titled “_heading5”- Since
- Sahi Pro 3.5
| API | _heading5(identifier [, relation1 [, relation2 ...]]) |
|---|---|
| Tag | Tag: H5 |
| HTML | |
| Identifiers | visible text, id, css class, data-testid, index |
| Relations | Relational functions _in, _near, _leftOf, _rightOf, _under, _above can be used. ![]() |
| Value | visible text (this is the default attribute used in assertions etc.) |
| Actions | Default event recorded is _click |
| Assertions | Example assertions: |
_heading6
Section titled “_heading6”- Since
- Sahi Pro 3.5
| API | _heading6(identifier [, relation1 [, relation2 ...]]) |
|---|---|
| Tag | Tag: H6 |
| HTML | |
| Identifiers | visible text, id, css class, data-testid, index |
| Relations | Relational functions _in, _near, _leftOf, _rightOf, _under, _above can be used. ![]() |
| Value | visible text (this is the default attribute used in assertions etc.) |
| Actions | Default event recorded is _click |
| Assertions | Example assertions: |
- Since
- Sahi Pro 3.5
| API | _area(identifier [, relation1 [, relation2 ...]]) |
|---|---|
| Tag | Tag: AREA |
| HTML | |
| Identifiers | id, title|alt, href, shape, css class, data-testid, index |
| Relations | Relational functions _in, _near, _leftOf, _rightOf, _under, _above can be used. ![]() |
| Value | (this is the default attribute used in assertions etc.) |
| Actions | Default event recorded is _click |
| Assertions | Example assertions: |
- Since
- Sahi Pro 3.5
| API | _map(identifier [, relation1 [, relation2 ...]]) |
|---|---|
| Tag | Tag: MAP |
| HTML | |
| Identifiers | name, id, title, css class, data-testid, index |
| Relations | Relational functions _in, _near, _leftOf, _rightOf, _under, _above can be used. ![]() |
| Value | (this is the default attribute used in assertions etc.) |
| Actions | Default event recorded is _click |
| Assertions | Example assertions: |
_paragraph
Section titled “_paragraph”- Since
- Sahi Pro 4.3
| API | _paragraph(identifier [, relation1 [, relation2 ...]]) |
|---|---|
| Tag | Tag: P |
| HTML | |
| Identifiers | id, css class, visible text, data-testid, index |
| Relations | Relational functions _in, _near, _leftOf, _rightOf, _under, _above can be used. ![]() |
| Value | visible text (this is the default attribute used in assertions etc.) |
| Actions | Default event recorded is _click |
| Assertions | Example assertions: |
_italic
Section titled “_italic”- Since
- Sahi Pro 3.5
| API | _italic(identifier [, relation1 [, relation2 ...]]) |
|---|---|
| Tag | Tag: I |
| HTML | |
| Identifiers | visible text, id, css class, data-testid, index |
| Relations | Relational functions _in, _near, _leftOf, _rightOf, _under, _above can be used. ![]() |
| Value | visible text (this is the default attribute used in assertions etc.) |
| Actions | Default event recorded is _click |
| Assertions | Example assertions: |
_emphasis
Section titled “_emphasis”- Since
- Sahi Pro 3.5
| API | _emphasis(identifier [, relation1 [, relation2 ...]]) |
|---|---|
| Tag | Tag: EM |
| HTML | |
| Identifiers | visible text, id, css class, data-testid, index |
| Relations | Relational functions _in, _near, _leftOf, _rightOf, _under, _above can be used. ![]() |
| Value | visible text (this is the default attribute used in assertions etc.) |
| Actions | Default event recorded is _click |
| Assertions | Example assertions: |
- Since
- Sahi Pro 3.5
| API | _bold(identifier [, relation1 [, relation2 ...]]) |
|---|---|
| Tag | Tag: B |
| HTML | |
| Identifiers | visible text, id, css class, data-testid, index |
| Relations | Relational functions _in, _near, _leftOf, _rightOf, _under, _above can be used. ![]() |
| Value | visible text (this is the default attribute used in assertions etc.) |
| Actions | Default event recorded is _click |
| Assertions | Example assertions: |
_strong
Section titled “_strong”- Since
- Sahi Pro 3.5
| API | _strong(identifier [, relation1 [, relation2 ...]]) |
|---|---|
| Tag | Tag: STRONG |
| HTML | |
| Identifiers | visible text, id, css class, data-testid, index |
| Relations | Relational functions _in, _near, _leftOf, _rightOf, _under, _above can be used. ![]() |
| Value | visible text (this is the default attribute used in assertions etc.) |
| Actions | Default event recorded is _click |
| Assertions | Example assertions: |
_preformatted
Section titled “_preformatted”- Since
- Sahi Pro 3.5
| API | _preformatted(identifier [, relation1 [, relation2 ...]]) |
|---|---|
| Tag | Tag: PRE |
| HTML | |
| Identifiers | visible text, id, css class, data-testid, index |
| Relations | Relational functions _in, _near, _leftOf, _rightOf, _under, _above can be used. ![]() |
| Value | visible text (this is the default attribute used in assertions etc.) |
| Actions | Default event recorded is _click |
| Assertions | Example assertions: |
- Since
- Sahi Pro 3.5
| API | _code(identifier [, relation1 [, relation2 ...]]) |
|---|---|
| Tag | Tag: CODE |
| HTML | |
| Identifiers | visible text, id, css class, data-testid, index |
| Relations | Relational functions _in, _near, _leftOf, _rightOf, _under, _above can be used. ![]() |
| Value | visible text (this is the default attribute used in assertions etc.) |
| Actions | Default event recorded is _click |
| Assertions | Example assertions: |
_blockquote
Section titled “_blockquote”- Since
- Sahi Pro 3.5
| API | _blockquote(identifier [, relation1 [, relation2 ...]]) |
|---|---|
| Tag | Tag: BLOCKQUOTE |
| HTML | |
| Identifiers | visible text, id, css class, data-testid, index |
| Relations | Relational functions _in, _near, _leftOf, _rightOf, _under, _above can be used. ![]() |
| Value | visible text (this is the default attribute used in assertions etc.) |
| Actions | Default event recorded is _click |
| Assertions | Example assertions: |
_canvas
Section titled “_canvas”- Since
- Sahi Pro 3.6
| API | _canvas(identifier [, relation1 [, relation2 ...]]) |
|---|---|
| Tag | Tag: CANVAS |
| HTML | |
| Identifiers | visible text, id, css class, data-testid, index |
| Relations | Relational functions _in, _near, _leftOf, _rightOf, _under, _above can be used. ![]() |
| Value | visible text (this is the default attribute used in assertions etc.) |
| Actions | Default event recorded is _click |
| Assertions | Example assertions: |
- Since
- Sahi Pro 3.6.2
| API | _abbr(identifier [, relation1 [, relation2 ...]]) |
|---|---|
| Tag | Tag: ABBR |
| HTML | |
| Identifiers | visible text, title, id, css class, data-testid, index |
| Relations | Relational functions _in, _near, _leftOf, _rightOf, _under, _above can be used. ![]() |
| Value | visible text (this is the default attribute used in assertions etc.) |
| Actions | Default event recorded is _click |
| Assertions | Example assertions: |
- Since
- Sahi Pro 5.0.5
| API | _hr(identifier [, relation1 [, relation2 ...]]) |
|---|---|
| Tag | Tag: HR |
| HTML | |
| Identifiers | id, css class, data-testid, index |
| Relations | Relational functions _in, _near, _leftOf, _rightOf, _under, _above can be used. ![]() |
| Value | (this is the default attribute used in assertions etc.) |
| Actions | Default event recorded is _click |
| Assertions | Example assertions: |
_iframe
Section titled “_iframe”- Since
- Sahi Pro 3.5
| API | _iframe(identifier [, relation1 [, relation2 ...]]) |
|---|---|
| Tag | Tag: IFRAME |
| HTML | |
| Identifiers | id, name, css class, data-testid, index |
| Relations | Relational functions _in, _near, _leftOf, _rightOf, _under, _above can be used. ![]() |
| Value | (this is the default attribute used in assertions etc.) |
| Actions | Default event recorded is _ |
| Assertions | Example assertions: |
_frame
Section titled “_frame”- Since
- Sahi Pro 3.5
| API | _frame(identifier [, relation1 [, relation2 ...]]) |
|---|---|
| Tag | Tag: FRAME |
| HTML | |
| Identifiers | id, name, css class, data-testid, index |
| Relations | Relational functions _in, _near, _leftOf, _rightOf, _under, _above can be used. ![]() |
| Value | (this is the default attribute used in assertions etc.) |
| Actions | Default event recorded is _ |
| Assertions | Example assertions: |
_object
Section titled “_object”- Since
- Sahi Pro 5.0.5
| API | _object(identifier [, relation1 [, relation2 ...]]) |
|---|---|
| Tag | Tag: OBJECT |
| HTML | |
| Identifiers | id, name, data, _sahi.ofn1, _sahi.ofn2 |
| Relations | Relational functions _in, _near, _leftOf, _rightOf, _under, _above can be used. ![]() |
| Value | (this is the default attribute used in assertions etc.) |
| Actions | Default event recorded is _ |
| Assertions | Example assertions: |
_embed
Section titled “_embed”- Since
- Sahi Pro 5.0.8
| API | _embed(identifier [, relation1 [, relation2 ...]]) |
|---|---|
| Tag | Tag: EMBED |
| HTML | |
| Identifiers | name, id, _sahi.ofn1, _sahi.ofn2 |
| Relations | Relational functions _in, _near, _leftOf, _rightOf, _under, _above can be used. ![]() |
| Value | (this is the default attribute used in assertions etc.) |
| Actions | Default event recorded is _ |
| Assertions | Example assertions: |
_dList
Section titled “_dList”- Since
- Sahi Pro 4.2
| API | _dList(identifier [, relation1 [, relation2 ...]]) |
|---|---|
| Tag | Tag: DL |
| HTML | |
| Identifiers | visible text, id, css class, data-testid, index |
| Relations | Relational functions _in, _near, _leftOf, _rightOf, _under, _above can be used. ![]() |
| Value | visible text (this is the default attribute used in assertions etc.) |
| Actions | Default event recorded is _click |
| Assertions | Example assertions: |
_dTerm
Section titled “_dTerm”- Since
- Sahi Pro 4.2
| API | _dTerm(identifier [, relation1 [, relation2 ...]]) |
|---|---|
| Tag | Tag: DT |
| HTML | |
| Identifiers | visible text, id, css class, data-testid, index |
| Relations | Relational functions _in, _near, _leftOf, _rightOf, _under, _above can be used. ![]() |
| Value | visible text (this is the default attribute used in assertions etc.) |
| Actions | Default event recorded is _click |
| Assertions | Example assertions: |
_dDesc
Section titled “_dDesc”- Since
- Sahi Pro 4.2
| API | _dDesc(identifier [, relation1 [, relation2 ...]]) |
|---|---|
| Tag | Tag: DD |
| HTML | |
| Identifiers | visible text, id, css class, data-testid, index |
| Relations | Relational functions _in, _near, _leftOf, _rightOf, _under, _above can be used. ![]() |
| Value | visible text (this is the default attribute used in assertions etc.) |
| Actions | Default event recorded is _click |
| Assertions | Example assertions: |
- Since
- Sahi Pro 5.1.0
| API | _font(identifier [, relation1 [, relation2 ...]]) |
|---|---|
| Tag | Tag: FONT |
| HTML | |
| Identifiers | visible text, color, face, size, data-testid |
| Relations | Relational functions _in, _near, _leftOf, _rightOf, _under, _above can be used. ![]() |
| Value | (this is the default attribute used in assertions etc.) |
| Actions | Default event recorded is _none |
| Assertions | Example assertions: |
_svg_rect
Section titled “_svg_rect”- Since
- Sahi Pro 5.0
| API | _svg_rect(identifier [, relation1 [, relation2 ...]]) |
|---|---|
| Tag | Tag: RECT |
| HTML | |
| Identifiers | visible text, id, css class, data-testid, index |
| Relations | Relational functions _in, _near, _leftOf, _rightOf, _under, _above can be used. ![]() |
| Value | visible text (this is the default attribute used in assertions etc.) |
| Actions | Default event recorded is _click |
| Assertions | Example assertions: |
_svg_tspan
Section titled “_svg_tspan”- Since
- Sahi Pro 5.0
| API | _svg_tspan(identifier [, relation1 [, relation2 ...]]) |
|---|---|
| Tag | Tag: TSPAN |
| HTML | |
| Identifiers | visible text, id, css class, data-testid, index |
| Relations | Relational functions _in, _near, _leftOf, _rightOf, _under, _above can be used. ![]() |
| Value | visible text (this is the default attribute used in assertions etc.) |
| Actions | Default event recorded is _click |
| Assertions | Example assertions: |
_svg_circle
Section titled “_svg_circle”- Since
- Sahi Pro 5.0
| API | _svg_circle(identifier [, relation1 [, relation2 ...]]) |
|---|---|
| Tag | Tag: CIRCLE |
| HTML | |
| Identifiers | visible text, id, css class, data-testid, index |
| Relations | Relational functions _in, _near, _leftOf, _rightOf, _under, _above can be used. ![]() |
| Value | visible text (this is the default attribute used in assertions etc.) |
| Actions | Default event recorded is _click |
| Assertions | Example assertions: |
_svg_ellipse
Section titled “_svg_ellipse”- Since
- Sahi Pro 5.0
| API | _svg_ellipse(identifier [, relation1 [, relation2 ...]]) |
|---|---|
| Tag | Tag: ELLIPSE |
| HTML | |
| Identifiers | visible text, id, css class, data-testid, index |
| Relations | Relational functions _in, _near, _leftOf, _rightOf, _under, _above can be used. ![]() |
| Value | visible text (this is the default attribute used in assertions etc.) |
| Actions | Default event recorded is _click |
| Assertions | Example assertions: |
_svg_line
Section titled “_svg_line”- Since
- Sahi Pro 5.0
| API | _svg_line(identifier [, relation1 [, relation2 ...]]) |
|---|---|
| Tag | Tag: LINE |
| HTML | |
| Identifiers | visible text, id, css class, data-testid, index |
| Relations | Relational functions _in, _near, _leftOf, _rightOf, _under, _above can be used. ![]() |
| Value | visible text (this is the default attribute used in assertions etc.) |
| Actions | Default event recorded is _click |
| Assertions | Example assertions: |
_svg_polygon
Section titled “_svg_polygon”- Since
- Sahi Pro 5.0
| API | _svg_polygon(identifier [, relation1 [, relation2 ...]]) |
|---|---|
| Tag | Tag: POLYGON |
| HTML | |
| Identifiers | visible text, id, css class, data-testid, index |
| Relations | Relational functions _in, _near, _leftOf, _rightOf, _under, _above can be used. ![]() |
| Value | visible text (this is the default attribute used in assertions etc.) |
| Actions | Default event recorded is _click |
| Assertions | Example assertions: |
_svg_polyline
Section titled “_svg_polyline”- Since
- Sahi Pro 5.0
| API | _svg_polyline(identifier [, relation1 [, relation2 ...]]) |
|---|---|
| Tag | Tag: POLYLINE |
| HTML | |
| Identifiers | visible text, id, css class, data-testid, index |
| Relations | Relational functions _in, _near, _leftOf, _rightOf, _under, _above can be used. ![]() |
| Value | visible text (this is the default attribute used in assertions etc.) |
| Actions | Default event recorded is _click |
| Assertions | Example assertions: |
_svg_path
Section titled “_svg_path”- Since
- Sahi Pro 5.0
| API | _svg_path(identifier [, relation1 [, relation2 ...]]) |
|---|---|
| Tag | Tag: PATH |
| HTML | |
| Identifiers | visible text, id, css class, data-testid, index |
| Relations | Relational functions _in, _near, _leftOf, _rightOf, _under, _above can be used. ![]() |
| Value | visible text (this is the default attribute used in assertions etc.) |
| Actions | Default event recorded is _click |
| Assertions | Example assertions: |
_svg_text
Section titled “_svg_text”- Since
- Sahi Pro 5.0
| API | _svg_text(identifier [, relation1 [, relation2 ...]]) |
|---|---|
| Tag | Tag: TEXT |
| HTML | |
| Identifiers | visible text, id, css class, data-testid, index |
| Relations | Relational functions _in, _near, _leftOf, _rightOf, _under, _above can be used. ![]() |
| Value | visible text (this is the default attribute used in assertions etc.) |
| Actions | Default event recorded is _click |
| Assertions | Example assertions: |
_article
Section titled “_article”- Since
- Sahi Pro 6.1.0
| API | _article(identifier [, relation1 [, relation2 ...]]) |
|---|---|
| Tag | Tag: ARTICLE |
| HTML | |
| Identifiers | visible text, id, css class, data-testid, index |
| Relations | Relational functions _in, _near, _leftOf, _rightOf, _under, _above can be used. ![]() |
| Value | visible text (this is the default attribute used in assertions etc.) |
| Actions | Default event recorded is _click |
| Assertions | Example assertions: |
_aside
Section titled “_aside”- Since
- Sahi Pro 6.1.0
| API | _aside(identifier [, relation1 [, relation2 ...]]) |
|---|---|
| Tag | Tag: ASIDE |
| HTML | |
| Identifiers | visible text, id, css class, data-testid, index |
| Relations | Relational functions _in, _near, _leftOf, _rightOf, _under, _above can be used. ![]() |
| Value | visible text (this is the default attribute used in assertions etc.) |
| Actions | Default event recorded is _click |
| Assertions | Example assertions: |
_details
Section titled “_details”- Since
- Sahi Pro 6.1.0
| API | _details(identifier [, relation1 [, relation2 ...]]) |
|---|---|
| Tag | Tag: DETAILS |
| HTML | |
| Identifiers | visible text, id, css class, data-testid, index |
| Relations | Relational functions _in, _near, _leftOf, _rightOf, _under, _above can be used. ![]() |
| Value | visible text (this is the default attribute used in assertions etc.) |
| Actions | Default event recorded is _click |
| Assertions | Example assertions: |
_figcaption
Section titled “_figcaption”- Since
- Sahi Pro 6.1.0
| API | _figcaption(identifier [, relation1 [, relation2 ...]]) |
|---|---|
| Tag | Tag: FIGCAPTION |
| HTML | |
| Identifiers | visible text, id, css class, data-testid, index |
| Relations | Relational functions _in, _near, _leftOf, _rightOf, _under, _above can be used. ![]() |
| Value | visible text (this is the default attribute used in assertions etc.) |
| Actions | Default event recorded is _click |
| Assertions | Example assertions: |
_figure
Section titled “_figure”- Since
- Sahi Pro 6.1.0
| API | _figure(identifier [, relation1 [, relation2 ...]]) |
|---|---|
| Tag | Tag: FIGURE |
| HTML | |
| Identifiers | visible text, id, css class, data-testid, index |
| Relations | Relational functions _in, _near, _leftOf, _rightOf, _under, _above can be used. ![]() |
| Value | visible text (this is the default attribute used in assertions etc.) |
| Actions | Default event recorded is _click |
| Assertions | Example assertions: |
_footer
Section titled “_footer”- Since
- Sahi Pro 6.1.0
| API | _footer(identifier [, relation1 [, relation2 ...]]) |
|---|---|
| Tag | Tag: FOOTER |
| HTML | |
| Identifiers | visible text, id, css class, data-testid, index |
| Relations | Relational functions _in, _near, _leftOf, _rightOf, _under, _above can be used. ![]() |
| Value | visible text (this is the default attribute used in assertions etc.) |
| Actions | Default event recorded is _click |
| Assertions | Example assertions: |
_header
Section titled “_header”- Since
- Sahi Pro 6.1.0
| API | _header(identifier [, relation1 [, relation2 ...]]) |
|---|---|
| Tag | Tag: HEADER |
| HTML | |
| Identifiers | visible text, id, css class, data-testid, index |
| Relations | Relational functions _in, _near, _leftOf, _rightOf, _under, _above can be used. ![]() |
| Value | visible text (this is the default attribute used in assertions etc.) |
| Actions | Default event recorded is _click |
| Assertions | Example assertions: |
- Since
- Sahi Pro 6.1.0
| API | _main(identifier [, relation1 [, relation2 ...]]) |
|---|---|
| Tag | Tag: MAIN |
| HTML | |
| Identifiers | visible text, id, css class, data-testid, index |
| Relations | Relational functions _in, _near, _leftOf, _rightOf, _under, _above can be used. ![]() |
| Value | visible text (this is the default attribute used in assertions etc.) |
| Actions | Default event recorded is _click |
| Assertions | Example assertions: |
- Since
- Sahi Pro 6.1.0
| API | _mark(identifier [, relation1 [, relation2 ...]]) |
|---|---|
| Tag | Tag: MARK |
| HTML | |
| Identifiers | visible text, id, css class, data-testid, index |
| Relations | Relational functions _in, _near, _leftOf, _rightOf, _under, _above can be used. ![]() |
| Value | visible text (this is the default attribute used in assertions etc.) |
| Actions | Default event recorded is _click |
| Assertions | Example assertions: |
- Since
- Sahi Pro 6.1.0
| API | _nav(identifier [, relation1 [, relation2 ...]]) |
|---|---|
| Tag | Tag: NAV |
| HTML | |
| Identifiers | visible text, id, css class, data-testid, index |
| Relations | Relational functions _in, _near, _leftOf, _rightOf, _under, _above can be used. ![]() |
| Value | visible text (this is the default attribute used in assertions etc.) |
| Actions | Default event recorded is _click |
| Assertions | Example assertions: |
_section
Section titled “_section”- Since
- Sahi Pro 6.1.0
| API | _section(identifier [, relation1 [, relation2 ...]]) |
|---|---|
| Tag | Tag: SECTION |
| HTML | |
| Identifiers | visible text, id, css class, data-testid, index |
| Relations | Relational functions _in, _near, _leftOf, _rightOf, _under, _above can be used. ![]() |
| Value | visible text (this is the default attribute used in assertions etc.) |
| Actions | Default event recorded is _click |
| Assertions | Example assertions: |
_summary
Section titled “_summary”- Since
- Sahi Pro 6.1.0
| API | _summary(identifier [, relation1 [, relation2 ...]]) |
|---|---|
| Tag | Tag: SUMMARY |
| HTML | |
| Identifiers | visible text, id, css class, data-testid, index |
| Relations | Relational functions _in, _near, _leftOf, _rightOf, _under, _above can be used. ![]() |
| Value | visible text (this is the default attribute used in assertions etc.) |
| Actions | Default event recorded is _click |
| Assertions | Example assertions: |
- Since
- Sahi Pro 6.1.0
| API | _time(identifier [, relation1 [, relation2 ...]]) |
|---|---|
| Tag | Tag: TIME |
| HTML | |
| Identifiers | visible text, datetime, id, css class, data-testid, index |
| Relations | Relational functions _in, _near, _leftOf, _rightOf, _under, _above can be used. ![]() |
| Value | datetime (this is the default attribute used in assertions etc.) |
| Actions | Default event recorded is _click |
| Assertions | Example assertions: |
_video
Section titled “_video”| API | _video(identifier [, relation1 [, relation2 ...]]) |
|---|---|
| Tag | Tag: VIDEO |
| HTML | |
| Identifiers | id, currentSrc, css class, data-testid, index |
| Relations | Relational functions _in, _near, _leftOf, _rightOf, _under, _above can be used. ![]() |
| Value | currentSrc (this is the default attribute used in assertions etc.) |
| Actions | Default event recorded is _click |
| Assertions | Example assertions: |
_spandiv
Section titled “_spandiv”- Since
- Sahi Pro 3.5
| API | _spandiv(identifier [, relation1 [, relation2 ...]]) |
|---|---|
| Tag | Tag: SPAN|DIV |
| HTML | |
| Identifiers | visible text, id, css class, data-testid, index |
| Relations | Relational functions _in, _near, _leftOf, _rightOf, _under, _above can be used. ![]() |
| Value | visible text (this is the default attribute used in assertions etc.) |
| Actions | Default event recorded is _click |
| Assertions | Example assertions: |
_fltPlaceholder
Section titled “_fltPlaceholder”- Since
- Sahi Pro 11.0.0
| API | _fltPlaceholder(identifier [, relation1 [, relation2 ...]]) |
|---|---|
| Tag | Tag: flt-semantics-placeholder |
| HTML | |
| Identifiers | aria-label, visible text, name, id, css class, index |
| Relations | Relational functions _in, _near, _leftOf, _rightOf, _under, _above can be used. ![]() |
| Value | visible text (this is the default attribute used in assertions etc.) |
| Actions | Default event recorded is _click |
| Assertions | Example assertions: |
_fltSemantics
Section titled “_fltSemantics”- Since
- Sahi Pro 11.0.0
| API | _fltSemantics(identifier [, relation1 [, relation2 ...]]) |
|---|---|
| Tag | Tag: flt-semantics |
| HTML | |
| Identifiers | aria-label, visible text, name, id, css class, index |
| Relations | Relational functions _in, _near, _leftOf, _rightOf, _under, _above can be used. ![]() |
| Value | aria-label (this is the default attribute used in assertions etc.) |
| Actions | Default event recorded is _click |
| Assertions | Example assertions: |
| API | _any(identifier [, relation1 [, relation2 ...]]) |
|---|---|
| Tag | Tag: ANY |
| HTML | |
| Identifiers | id, css class, name, sahitext, data-testid, tabIndex, xpath, cssSelector, tagName |
| Relations | Relational functions _in, _near, _leftOf, _rightOf, _under, _above can be used. ![]() |
| Value | (this is the default attribute used in assertions etc.) |
| Actions | Default event recorded is |
| Assertions | Example assertions: |


