Salesforce Accessor Functions
Form Input Elements
Section titled “Form Input Elements”_lightningTextbox
Section titled “_lightningTextbox”- Since
- Sahi Pro 11.2.1
| API | _lightningTextbox(identifier [, relation1 [, relation2 ...]]) |
|---|---|
| Tag | Tag: lightning-input of type: text |
| HTML | |
| Identifiers | aria-label, placeholder, name, id, css class, sahiLabel, 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: |
_lightningPISSearch
Section titled “_lightningPISSearch”- Since
- Sahi Pro 11.2.1
| API | _lightningPISSearch(identifier [, relation1 [, relation2 ...]]) |
|---|---|
| Tag | Tag: lightning-primitive-input-simple of type: search |
| HTML | |
| Identifiers | placeholder, visible text, name, id, css class, 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: |
Button Like Elements
Section titled “Button Like Elements”_lightningButton
Section titled “_lightningButton”- Since
- Sahi Pro 11.2.1
| API | _lightningButton(identifier [, relation1 [, relation2 ...]]) |
|---|---|
| Tag | Tag: lightning-button of type: null |
| HTML | |
| Identifiers | visible text, title, label, name, iconName, 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: |
_lightningButton
Section titled “_lightningButton”- Since
- Sahi Pro 11.2.1
| API | _lightningButton(identifier [, relation1 [, relation2 ...]]) |
|---|---|
| Tag | Tag: lightning-button of type: button |
| HTML | |
| Identifiers | visible text, title, label, name, iconName, 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: |
_lightningToggle
Section titled “_lightningToggle”- Since
- Sahi Pro 11.2.1
| API | _lightningToggle(identifier [, relation1 [, relation2 ...]]) |
|---|---|
| Tag | Tag: lightning-input of type: toggle |
| HTML | |
| Identifiers | visible text, title, label, 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: |
_lightningPIToggle
Section titled “_lightningPIToggle”- Since
- Sahi Pro 11.2.1
| API | _lightningPIToggle(identifier [, relation1 [, relation2 ...]]) |
|---|---|
| Tag | Tag: lightning-primitive-input-toggle of type: null |
| HTML | |
| Identifiers | visible text, title, label, 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: |
_sfISegmentButton
Section titled “_sfISegmentButton”- Since
- Sahi Pro 11.2.1
| API | _sfISegmentButton(identifier [, relation1 [, relation2 ...]]) |
|---|---|
| Tag | Tag: ION-SEGMENT-BUTTON of type: button |
| HTML | |
| Identifiers | visible text, 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: |
Other HTML Tags
Section titled “Other HTML Tags”_lightningButtonIcon
Section titled “_lightningButtonIcon”- Since
- Sahi Pro 11.2.1
| API | _lightningButtonIcon(identifier [, relation1 [, relation2 ...]]) |
|---|---|
| Tag | Tag: lightning-button-icon |
| HTML | |
| Identifiers | visible text, title, id, name, iconName, 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: |
_lightningIcon
Section titled “_lightningIcon”- Since
- Sahi Pro 11.2.1
| API | _lightningIcon(identifier [, relation1 [, relation2 ...]]) |
|---|---|
| Tag | Tag: lightning-icon |
| HTML | |
| Identifiers | visible text, title, id, name, iconName, 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: |
_lightningPIcon
Section titled “_lightningPIcon”- Since
- Sahi Pro 11.2.1
| API | _lightningPIcon(identifier [, relation1 [, relation2 ...]]) |
|---|---|
| Tag | Tag: lightning-primitive-icon |
| HTML | |
| Identifiers | visible text, title, id, name, iconName, 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: |
_lightningSelect
Section titled “_lightningSelect”- Since
- Sahi Pro 11.2.1
| API | _lightningSelect(identifier [, relation1 [, relation2 ...]]) |
|---|---|
| Tag | Tag: lightning-select |
| HTML | |
| Identifiers | placeholder, name, id, visible text, 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: |
_lightningCombobox
Section titled “_lightningCombobox”- Since
- Sahi Pro 11.2.1
| API | _lightningCombobox(identifier [, relation1 [, relation2 ...]]) |
|---|---|
| Tag | Tag: lightning-combobox |
| HTML | |
| Identifiers | placeholder, name, id, visible text, 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: |
_lightningBComboboxItem
Section titled “_lightningBComboboxItem”- Since
- Sahi Pro 11.2.1
| API | _lightningBComboboxItem(identifier [, relation1 [, relation2 ...]]) |
|---|---|
| Tag | Tag: lightning-base-combobox-item |
| HTML | |
| Identifiers | visible text, 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: |
_lightningFormattedText
Section titled “_lightningFormattedText”- Since
- Sahi Pro 11.2.1
| API | _lightningFormattedText(identifier [, relation1 [, relation2 ...]]) |
|---|---|
| Tag | Tag: lightning-formatted-text |
| HTML | |
| Identifiers | visible text, title, 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: |
_lightningBFormattedText
Section titled “_lightningBFormattedText”- Since
- Sahi Pro 11.2.1
| API | _lightningBFormattedText(identifier [, relation1 [, relation2 ...]]) |
|---|---|
| Tag | Tag: lightning-base-formatted-text |
| HTML | |
| Identifiers | visible text, id, value, css class, data-output-element-id, 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: |
_lightningPCFactory
Section titled “_lightningPCFactory”- Since
- Sahi Pro 11.2.1
| API | _lightningPCFactory(identifier [, relation1 [, relation2 ...]]) |
|---|---|
| Tag | Tag: lightning-primitive-cell-factory |
| HTML | |
| Identifiers | visible text, id, css class, index, data-output-element-id |
| 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: |
_lightningPCustomCell
Section titled “_lightningPCustomCell”- Since
- Sahi Pro 11.2.1
| API | _lightningPCustomCell(identifier [, relation1 [, relation2 ...]]) |
|---|---|
| Tag | Tag: lightning-primitive-custom-cell |
| HTML | |
| Identifiers | visible text, id, css class, index, data-output-element-id |
| 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: |
_crmUtilIcon
Section titled “_crmUtilIcon”- Since
- Sahi Pro 11.2.1
| API | _crmUtilIcon(identifier [, relation1 [, relation2 ...]]) |
|---|---|
| Tag | Tag: crmutil-icon |
| HTML | |
| Identifiers | iconName, visible text, 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: |
_sfLstFormattedText
Section titled “_sfLstFormattedText”- Since
- Sahi Pro 11.2.1
| API | _sfLstFormattedText(identifier [, relation1 [, relation2 ...]]) |
|---|---|
| Tag | Tag: lst-formatted-text |
| HTML | |
| Identifiers | value, visible text, id, css class, index, data-output-element-id |
| 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: |
_lightBasetext
Section titled “_lightBasetext”- Since
- Sahi Pro 11.2.1
| API | _lightBasetext (identifier [, relation1 [, relation2 ...]]) |
|---|---|
| Tag | Tag: LIGHTBASETEXT |
| HTML | |
| Identifiers | visible text, id, css class, index, value |
| 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: |
_sfBBSError
Section titled “_sfBBSError”- Since
- Sahi Pro 11.2.1
| API | _sfBBSError(identifier [, relation1 [, relation2 ...]]) |
|---|---|
| Tag | Tag: bst:btn-sm-error |
| HTML | |
| Identifiers | name, visible text, 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: |
_sfBPIEIcon
Section titled “_sfBPIEIcon”- Since
- Sahi Pro 11.2.1
| API | _sfBPIEIcon(identifier [, relation1 [, relation2 ...]]) |
|---|---|
| Tag | Tag: builder_platform_interaction-element-icon |
| HTML | |
| Identifiers | visible text, 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: |
_sfBPICombobox
Section titled “_sfBPICombobox”- Since
- Sahi Pro 11.2.1
| API | _sfBPICombobox(identifier [, relation1 [, relation2 ...]]) |
|---|---|
| Tag | Tag: builder_platform_interaction-combobox |
| HTML | |
| Identifiers | visible text, id, name, 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: |


