Class | Description |
---|---|
DefaultRemoteCommand | A representation of a single remote Command |
DefaultSelenium | Defines an object that runs Selenium commands. Element LocatorsElement Locators tell Selenium which HTML element a command refers to. The format of a locator is: locatorType=argument We support the following strategies for locating elements:
Without an explicit locator prefix, Selenium uses the following default strategies:
Element Filters
String-match PatternsVarious Pattern syntaxes are available for matching string values:
If no pattern prefix is specified, Selenium assumes that it's a "glob" pattern. For commands that return multiple values (such as verifySelectOptions), the string being matched is a comma-separated list of the return values, where both commas and backslashes in the values are backslash-escaped. When providing a pattern, the optional matching syntax (i.e. glob, regexp, etc.) is specified once, as usual, at the beginning of the pattern. |
HttpCommandProcessor | Sends commands and retrieves results via HTTP. |
SeleniumException | Thrown when a Selenium command fails. |
Interface | Description |
---|---|
ICommandProcessor | Provides a DoCommand method, which sends the command to the browser to be performed. |
IRemoteCommand | Summary description for IRemoteCommand. |
ISelenium | Defines an object that runs Selenium commands. Element LocatorsElement Locators tell Selenium which HTML element a command refers to. The format of a locator is: locatorType=argument We support the following strategies for locating elements:
Without an explicit locator prefix, Selenium uses the following default strategies:
Element Filters
String-match PatternsVarious Pattern syntaxes are available for matching string values:
If no pattern prefix is specified, Selenium assumes that it's a "glob" pattern. For commands that return multiple values (such as verifySelectOptions), the string being matched is a comma-separated list of the return values, where both commas and backslashes in the values are backslash-escaped. When providing a pattern, the optional matching syntax (i.e. glob, regexp, etc.) is specified once, as usual, at the beginning of the pattern. |