Skip to content

Commit a14ea4b

Browse files
committed
Update obsoletion message for unused webdriver results
1 parent bd62f6f commit a14ea4b

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

dotnet/src/webdriver/WebDriverResult.cs

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -34,31 +34,31 @@ public enum WebDriverResult
3434
/// <summary>
3535
/// The index specified for the action was out of the acceptable range.
3636
/// </summary>
37-
[Obsolete("This result is not returned by W3C specifications")]
37+
[Obsolete("This error status is no longer returned by the WebDriver Specification https://www.w3.org/TR/webdriver2/#errors")]
3838
IndexOutOfBounds = 1,
3939

4040
/// <summary>
4141
/// No collection was specified.
4242
/// </summary>
43-
[Obsolete("This result is not returned by W3C specifications")]
43+
[Obsolete("This error status is no longer returned by the WebDriver Specification https://www.w3.org/TR/webdriver2/#errors")]
4444
NoCollection = 2,
4545

4646
/// <summary>
4747
/// No string was specified.
4848
/// </summary>
49-
[Obsolete("This result is not returned by W3C specifications")]
49+
[Obsolete("This error status is no longer returned by the WebDriver Specification https://www.w3.org/TR/webdriver2/#errors")]
5050
NoString = 3,
5151

5252
/// <summary>
5353
/// No string length was specified.
5454
/// </summary>
55-
[Obsolete("This result is not returned by W3C specifications")]
55+
[Obsolete("This error status is no longer returned by the WebDriver Specification https://www.w3.org/TR/webdriver2/#errors")]
5656
NoStringLength = 4,
5757

5858
/// <summary>
5959
/// No string wrapper was specified.
6060
/// </summary>
61-
[Obsolete("This result is not returned by W3C specifications")]
61+
[Obsolete("This error status is no longer returned by the WebDriver Specification https://www.w3.org/TR/webdriver2/#errors")]
6262
NoStringWrapper = 5,
6363

6464
/// <summary>
@@ -89,7 +89,7 @@ public enum WebDriverResult
8989
/// <summary>
9090
/// The specified element is not displayed.
9191
/// </summary>
92-
[Obsolete("This result is not returned by W3C specifications")]
92+
[Obsolete("This error status is no longer returned by the WebDriver Specification https://www.w3.org/TR/webdriver2/#errors")]
9393
ElementNotDisplayed = 11,
9494

9595
/// <summary>
@@ -111,19 +111,19 @@ public enum WebDriverResult
111111
/// <summary>
112112
/// An error occurred, but it was expected.
113113
/// </summary>
114-
[Obsolete("This result is not returned by W3C specifications")]
114+
[Obsolete("This error status is no longer returned by the WebDriver Specification https://www.w3.org/TR/webdriver2/#errors")]
115115
ExpectedError = 14,
116116

117117
/// <summary>
118118
/// The specified element is not selected.
119119
/// </summary>
120-
[Obsolete("This result is not returned by W3C specifications")]
120+
[Obsolete("This error status is no longer returned by the WebDriver Specification https://www.w3.org/TR/webdriver2/#errors")]
121121
ElementNotSelectable = 15,
122122

123123
/// <summary>
124124
/// No document matching the criteria exists.
125125
/// </summary>
126-
[Obsolete("This result is not returned by W3C specifications")]
126+
[Obsolete("This error status is no longer returned by the WebDriver Specification https://www.w3.org/TR/webdriver2/#errors")]
127127
NoSuchDocument = 16,
128128

129129
/// <summary>
@@ -134,19 +134,19 @@ public enum WebDriverResult
134134
/// <summary>
135135
/// No result is available from the JavaScript execution.
136136
/// </summary>
137-
[Obsolete("This result is not returned by W3C specifications")]
137+
[Obsolete("This error status is no longer returned by the WebDriver Specification https://www.w3.org/TR/webdriver2/#errors")]
138138
NoScriptResult = 18,
139139

140140
/// <summary>
141141
/// The result from the JavaScript execution is not recognized.
142142
/// </summary>
143-
[Obsolete("This result is not returned by W3C specifications")]
143+
[Obsolete("This error status is no longer returned by the WebDriver Specification https://www.w3.org/TR/webdriver2/#errors")]
144144
XPathLookupError = 19,
145145

146146
/// <summary>
147147
/// No collection matching the criteria exists.
148148
/// </summary>
149-
[Obsolete("This result is not returned by W3C specifications")]
149+
[Obsolete("This error status is no longer returned by the WebDriver Specification https://www.w3.org/TR/webdriver2/#errors")]
150150
NoSuchCollection = 20,
151151

152152
/// <summary>
@@ -157,7 +157,7 @@ public enum WebDriverResult
157157
/// <summary>
158158
/// A null pointer was received.
159159
/// </summary>
160-
[Obsolete("This result is not returned by W3C specifications")]
160+
[Obsolete("This error status is no longer returned by the WebDriver Specification https://www.w3.org/TR/webdriver2/#errors")]
161161
NullPointer = 22,
162162

163163
/// <summary>
@@ -193,7 +193,7 @@ public enum WebDriverResult
193193
/// <summary>
194194
/// The coordinates of the element are invalid.
195195
/// </summary>
196-
[Obsolete("This result is not returned by W3C specifications")]
196+
[Obsolete("This error status is no longer returned by the WebDriver Specification https://www.w3.org/TR/webdriver2/#errors")]
197197
InvalidElementCoordinates = 29,
198198

199199
/// <summary>
@@ -214,7 +214,7 @@ public enum WebDriverResult
214214
/// <summary>
215215
/// The XPath selector was invalid.
216216
/// </summary>
217-
[Obsolete("This result is not returned by W3C specifications")]
217+
[Obsolete("This error status is no longer returned by the WebDriver Specification https://www.w3.org/TR/webdriver2/#errors")]
218218
InvalidXPathSelector = 51,
219219

220220
/// <summary>

0 commit comments

Comments
 (0)