Set Attribute

Sets the attribute in the given web element.

This activity sets the user-specified attribute value in the given web element with specified selector properties as string.

Input

  • Browser : IWebDriver Variable Required The variable name refers to the opened web browser.

  • Attribute Name : String Argument Required Specifies the name of the attribute to be set.

  • Attribute Value : String Argument Required Specifies the value of the user-specified attribute to be set.

  • Wait Timeout : Integer Argument Seconds to wait until the element is found. Default : 5

Target

  • Element Selectors : Required Specifies the webpage element to which the specified attribute is to be set. We can edit the selectors of the specified web element using the Web Element Selector Editor Window.

Last updated