Read Attribute From Web Element Step

Brief description

This step retrieves the value of a specified attribute from a web element and stores it in 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. If you need assistance with locating selectors, you can refer to the following link.
  • Attribute – predefined name
  • Driver Reference (Required) existing variable name or value that specifies the driver reference
  • Wait for Element until timeout [ms] (Required) existing variable name or value that specifies the waiting time for a result 

Output Parameters

  • Extracted attribute variable name (Required)- existing variable name or value that contains result variable

Was this article helpful?