Skip to content

Commit 0105926

Browse files
unknownunknown
authored andcommitted
Typo
1 parent e4cb900 commit 0105926

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

Selenium/Errors/WebRequestErrors.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ internal MoveTargetOutOfBoundsError(string message = null)
275275
/// </summary>
276276
public class BrowserNotStartedError : WebRequestError {
277277
internal BrowserNotStartedError()
278-
: base(57, "Browser not started. Use Start or StartRemotely.") { }
278+
: base(57, "Browser not started. Call Get, Start or StartRemotely first.") { }
279279
}
280280

281281
/// <summary>

Selenium/SeleniumException.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ namespace Selenium {
1111
public class SeleniumException : Exception {
1212

1313
internal SeleniumException()
14-
: base() { }
14+
: base() {}
1515

1616
internal SeleniumException(Exception exception)
1717
: base(exception.Message, exception) {

Selenium/Serializer/JsonReader.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ private JsonImage DeserializePNGBase64() {
243243
#endregion
244244

245245
/// <summary>
246-
/// Deserialise a base64 string.
246+
/// Deserialize a base64 string.
247247
/// Line breaks are not supported and data are not verified
248248
/// </summary>
249249
/// <returns></returns>
@@ -397,9 +397,9 @@ private char DeserializeUnicode() {
397397
if (_index + 5 >= _length)
398398
throw new JsonException("UnexpectedTermination", _index);
399399
int code = (BASE16_TABLE[_buffer[_index + 1] & 0x1F] << 12)
400-
| (BASE16_TABLE[_buffer[_index + 2] & 0x1F] << 8)
401-
| (BASE16_TABLE[_buffer[_index + 3] & 0x1F] << 4)
402-
| (BASE16_TABLE[_buffer[_index + 4] & 0x1F]);
400+
| (BASE16_TABLE[_buffer[_index + 2] & 0x1F] << 8)
401+
| (BASE16_TABLE[_buffer[_index + 3] & 0x1F] << 4)
402+
| (BASE16_TABLE[_buffer[_index + 4] & 0x1F]);
403403
_index += 4;
404404
return (char)code;
405405
}

0 commit comments

Comments
 (0)