|
1 | 1 | #### [Gravity.Core](./index.md 'index')
|
2 | 2 | ### [OpenQA.Selenium.Common](./OpenQA-Selenium-Common.md 'OpenQA.Selenium.Common').[ExpectedConditions](./OpenQA-Selenium-Common-ExpectedConditions.md 'OpenQA.Selenium.Common.ExpectedConditions')
|
3 |
| -## ExpectedConditions.AttributeMatches(By, string, string) Method |
| 3 | +## ExpectedConditions.AttributeMatches(OpenQA.Selenium.By, string, string) Method |
4 | 4 | An expectation for the given element's attribute to match a pattern.
|
5 | 5 | ```csharp
|
6 |
| -public static System.Func<IWebDriver,IWebElement> AttributeMatches(By by, string attribute, string regex); |
| 6 | +public static System.Func<OpenQA.Selenium.IWebDriver,OpenQA.Selenium.IWebElement> AttributeMatches(OpenQA.Selenium.By by, string attribute, string regex); |
7 | 7 | ```
|
8 | 8 | #### Parameters
|
9 |
| -<a name='OpenQA-Selenium-Common-ExpectedConditions-AttributeMatches(By_string_string)-by'></a> |
| 9 | +<a name='OpenQA-Selenium-Common-ExpectedConditions-AttributeMatches(OpenQA-Selenium-By_string_string)-by'></a> |
10 | 10 | `by` [OpenQA.Selenium.By](https://docs.microsoft.com/en-us/dotnet/api/OpenQA.Selenium.By 'OpenQA.Selenium.By')
|
11 | 11 | The locator used to find the element.
|
12 | 12 |
|
13 |
| -<a name='OpenQA-Selenium-Common-ExpectedConditions-AttributeMatches(By_string_string)-attribute'></a> |
| 13 | +<a name='OpenQA-Selenium-Common-ExpectedConditions-AttributeMatches(OpenQA-Selenium-By_string_string)-attribute'></a> |
14 | 14 | `attribute` [System.String](https://docs.microsoft.com/en-us/dotnet/api/System.String 'System.String')
|
15 | 15 | The attribute name to assert against the pattern.
|
16 | 16 |
|
17 |
| -<a name='OpenQA-Selenium-Common-ExpectedConditions-AttributeMatches(By_string_string)-regex'></a> |
| 17 | +<a name='OpenQA-Selenium-Common-ExpectedConditions-AttributeMatches(OpenQA-Selenium-By_string_string)-regex'></a> |
18 | 18 | `regex` [System.String](https://docs.microsoft.com/en-us/dotnet/api/System.String 'System.String')
|
19 | 19 | The regular expression that the attribute should match.
|
20 | 20 |
|
|
0 commit comments