Skip to content

Select Dropdown Via Javascript: JSSELECT

The Select Dropdown Via Javascript action triggers a JavaScript select event to choose an option from a dropdown menu. This is useful for selecting options in dropdowns that rely on JavaScript.

Example: Suppose you want to select a language in the dropdown on the SettingsPage screen, using the LanguageDropdown element.

Steps to configure:

  1. Select Select Dropdown Via Javascript from the Action drop-down.
  2. In the Screen Name field, enter SettingsPage.
  3. In the Element Key field, enter LanguageDropdown.
  4. In the Parameter section, type the option you want to select (e.g., “English”).
  5. Click Save.

Note: While the steps for adding an Action are identical in both views, the display of the steps changes:

scrn-select-dropdown-view-javascript-tabular-view
Tabular View
Card View

Note: Ensure that the Screen Name and Element Key are already defined before using this action.

Expected Outcome on Execution:  The Select Dropdown Via Javascript action will select “English” in the LanguageDropdown on SettingsPage by activating the JavaScript select event.

Back To Top