Search code examples
selenium-webdriverselenium-ide

what are Selenium IDE "Arguments"?


I'm new to Selenium IDE, I'm reading their official docs, under API Reference section. I understand the purpose of Commands, they are what I see in the recorded scripts. But what are Arguments, what are they for, where are they used? There is no general description in the docs, only the list of them. https://www.selenium.dev/selenium-ide/docs/en/api/arguments


Solution

  • Arguments are the "things" you pass to commands. If you look on the commands page, you will see that practically all commands have one or more arguments.

    For example, the click command.

    click

    The argument in this case is a locator... CSS selector, ID, XPath, etc.