Save Variable Selenium Step

Brief description

This step saves the specified value to a string variable. 

Step Information

Step Name (Not required)– the custom name of the process step that labels the editor’s process step box

Input Parameters

  • Selector Type(Required) choose a selector type from the dropdown menu, possibilities are : 
    • Class Name
    •  CSS Selector
    • Name
    • Id
    • Link Text
    • Partial Link Text
    • Tag Name
    • XPath (get those elements  after inspect element in web browser)
  • Selector Value (Required) existing variable name or value that specifies the selector value
  • Attribute – predefined name
  • Wait for Element until timeout [ms] (Required) existing variable name or value that specifies the waiting time for a result 

Output Parameters

  • Driver Reference (Required) existing variable name or value that specifies the driver reference
  • Result variable name (Required)- existing variable name or value that contains result variable
  • Element present (Required)– existing or new variable of boolean data type

Error handling

  • Throw exception (Required):
    • T (true)
    • F (false - default value)

Was this article helpful?