Skip to content

Commit 9c40e0e

Browse files
[dotnet] Fix typos (#16032)
Co-authored-by: Corey Goldberg <[email protected]>
1 parent 6c607a8 commit 9c40e0e

17 files changed

+50
-50
lines changed

dotnet/CHANGELOG

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ v4.30.0
8080
* [bidi] Add SetFiles command in Input module (#15392)
8181
* [bidi] Added UnhandledPromptBehavior for new session capability (#15391)
8282
* [bidi] Encapsulate transport inside `Broker` (#15423)
83-
* [bidi] Align `Scipt.LocalValue.Map` with spec (#15395)
83+
* [bidi] Align `Script.LocalValue.Map` with spec (#15395)
8484
* [bidi] Make `DisposeAsyncCore` protected
8585
* [bidi] Make `LocalValue` types not nested (#15428)
8686
* [bidi] Migrate RemoteValue to separate types (#15426)
@@ -669,7 +669,7 @@ v4.0.0rc1
669669
=========
670670
* Set available versions of Chrome DevTools Protocol to 85, 92, and 93.
671671
* Enabled script pinning. This allows the user to add a snippet of JavaScript
672-
to a page that will be available on all subsquent pages, and not have to
672+
to a page that will be available on all subsequent pages, and not have to
673673
pass the script across the wire every time. For exceptionally large blobs
674674
of JavaScript, this may represent a significant savings in bandwidth and
675675
data sent to the remote end of the WebDriver protocol. This feature is
@@ -802,7 +802,7 @@ v4.0.0b1
802802
previous conditions failed. Fixes issue #8904.
803803
* Added Content-Type header to POST requests for .NET bindings
804804
* Added support for .NET 5
805-
* Enabled allowing the user to specify DevTools Protocol verison. his change
805+
* Enabled allowing the user to specify DevTools Protocol version. his change
806806
introduces an overload to the `CreateDevToolsSession` method that will allow
807807
a user to request a specific version of the protocol to use instead of
808808
automatically detecting the version used by the browser being automated.
@@ -1155,7 +1155,7 @@ v4.0.0a1
11551155
commit, the .NET bindings will not even attempt the remote call for spec-
11561156
compliant sessions, returning empty lists instead. Fixes issue #5842.
11571157
* Changed HttpCommandExecutor to throw more expressive exceptions.
1158-
* Made Until<T> method of DefaultWait<T> virtual, and therefore overrideable.
1158+
* Made Until<T> method of DefaultWait<T> virtual, and therefore overridable.
11591159
* Added IWrapsDriver to EventFiringWebElement
11601160
* Created additional exception types, introducing JavaScriptException,
11611161
MoveTargetOutOfBoundsException, and WebDriverArgumentException. These all
@@ -1192,7 +1192,7 @@ v3.14.0
11921192
via `RemoteWebDriver`. Additionally, the `DesiredCapabilities` class is now
11931193
marked as deprecated and will generate a compile warning on its use.
11941194

1195-
Almost without exeception, users should not be using DesiredCapabilities in
1195+
Almost without exception, users should not be using DesiredCapabilities in
11961196
.NET. The browser-specific options classes provide functionality for adding
11971197
any additional capabilities that would need to be sent to a remote end. One
11981198
possible exception is when using RemoteWebDriver to connect to a remote
@@ -1219,10 +1219,10 @@ v3.14.0
12191219
previously mentioned, in the future, the capabilities returned will be
12201220
read-only, and will not be able to be added to. Users who feel the need
12211221
to modify the options class after converting to capabilities are encouraged
1222-
to add the additional capabilites to the options class before the conversion
1222+
to add the additional capabilities to the options class before the conversion
12231223
by appropriate use of the `AddAdditionalCapability` method.
12241224
* Exposed additional extension points to better control HTTP communications
1225-
between the language bindings and the remote end implemention. For the
1225+
between the language bindings and the remote end implementation. For the
12261226
.NET implementation of HttpCommandExecutor, we now expose a Proxy property
12271227
for proxying requests between the .NET code and the remote end WebDriver
12281228
implementation. Note carefully that this is entirely separate from the
@@ -1362,7 +1362,7 @@ v3.12.0
13621362
* Fixed .NET HttpCommandExecutor event for RemoteWebDriver. This change moves
13631363
the firing of the event raised before sending a remote HTTP request to
13641364
before the setting of the request body. This allows the request settings to
1365-
be properly set without throwing an exeception. This commit also renames
1365+
be properly set without throwing an exception. This commit also renames
13661366
the event and event args object to `SendingReomteHttpRequest` and
13671367
`SendingRemoteHttpRequestEventArgs`, respectively. The previous event and
13681368
event args are marked as deprecated for removal in a future release, and
@@ -1482,7 +1482,7 @@ v3.11.1
14821482
list. Fixes issue #5645.
14831483
* Updating .NET to not propagate non-W3C compliant capability names. Fixes
14841484
issue #5646.
1485-
* Added new property for geckodriver --jsdebugger commmand line switch to
1485+
* Added new property for geckodriver --jsdebugger command line switch to
14861486
FirefoxDriverService object.
14871487
* (On behalf of Christopher Buttkus) Added LeftShift, LeftAlt, LeftControl,
14881488
Command, and Meta as KeyDown/Up events for .NET
@@ -1514,7 +1514,7 @@ v3.11.0
15141514
* Marked .NET ExpectedConditions obsolete. Using the ExpectedConditions
15151515
class provides no benefit over directly using lambda functions (anonymous
15161516
methods) directly in one's code. Since the community appears to believe
1517-
that an "official" repository of wait conditions is desireable, the
1517+
that an "official" repository of wait conditions is desirable, the
15181518
existing code has been migrated to a new repository under a new organization
15191519
on GitHub (https://github.com/DotNetSeleniumTools/DotNetSeleniumExtras).
15201520
It is hoped that this will encourage a volunteer from the community to take
@@ -1565,9 +1565,9 @@ v3.10.0
15651565
(https://bugs.chromium.org/p/chromedriver/issues/detail?id=2034),
15661566
the enableTimeline performance logging preference is no longer accepted
15671567
by chromedriver.exe. The .NET language bindings will no longer send that
1568-
preference to the driver executable. Additionally, the peroperty setting
1568+
preference to the driver executable. Additionally, the property setting
15691569
the preference has been deprecated, and will generate a compile-time
1570-
warning. The property will be remvoed in a future release. Fixes
1570+
warning. The property will be removed in a future release. Fixes
15711571
issue #5481.
15721572

15731573
v3.9.1
@@ -1583,13 +1583,13 @@ v3.9.0
15831583
of the ChromeDriver object. This property gets or sets a
15841584
ChromeNetworkConditions object which contains the proper values. Fixes
15851585
issue #5338.
1586-
* Readded CLSCompliant attribute to .NET assemblies. When converting from
1586+
* Re-added CLSCompliant attribute to .NET assemblies. When converting from
15871587
the prior build system to using Buck and the dotnet build tools, the
15881588
assembly-level CLSCompliant attribute was removed. This commit restores
15891589
the CLSCompliant attribute to the assembly manifests. Fixes issue #5324.
15901590
* Removed check for leading hyphens in .NET FirefoxOptions AddArgument.
15911591
In prior releases of geckodriver, it was a requirement that all arguments
1592-
be preceeded by double hyphens ("--"). Geckodriver has now relaxed that
1592+
be preceded by double hyphens ("--"). Geckodriver has now relaxed that
15931593
restriction, and the .NET bindings need to keep up with that change. This
15941594
commit removes the check for leading hyphens when calling AddArgument.
15951595
* Fixed strong-named assembly references. In the move to using the `dotnet`
@@ -1603,7 +1603,7 @@ v3.9.0
16031603
(chromedriver, geckodriver, IEDriverServer.exe, etc.) do not even allow
16041604
connections from external machines for security reasons. However, there is
16051605
a legitimate use case (.NET Standard 2.0) where a local IP address
1606-
("127.0.0.1" or "::1") is preferrable to using the "localhost" moniker.
1606+
("127.0.0.1" or "::1") is preferable to using the "localhost" moniker.
16071607
This HostName property allows the user to specify that IP address. Note
16081608
that the property defaults to "localhost," preserving previous behavior.
16091609

@@ -1668,7 +1668,7 @@ v3.6.0
16681668
and future releases are only valid when using NuGet package references.
16691669
Simply copying the assembly and adding an assembly reference to the
16701670
.NET Core 2.0 project will not work. This is by design of the .NET
1671-
Core ecosystem, which is now entirely dependent on NuGet to propertly
1671+
Core ecosystem, which is now entirely dependent on NuGet to properly
16721672
resolve dependencies.
16731673

16741674
v3.5.2
@@ -1725,7 +1725,7 @@ v3.5.0
17251725
* (on behalf of Matthew Lymer) Fixing the parsing of logging levels to match
17261726
the values in the LogLevel enum. Fixes issue #4121.
17271727
* Updated .NET DriverService to allow hard termination shutdown of
1728-
exectuable.s Some driver services (geckodriver, safaridriver) don't support
1728+
executable. Some driver services (geckodriver, safaridriver) don't support
17291729
a shutdown HTTP end point. The base DriverSerivce class should allow for
17301730
that, and not attempt to use one if it's known the service doesn't provide
17311731
one.
@@ -2037,7 +2037,7 @@ v2.46.0
20372037
startup. A driver using a driver service will now throw a WebDriverException
20382038
if it cannot start the driver service, or if the service executable returns
20392039
an invalid response. Note that the checks for the validation of the
2040-
repsonses is minimal, checking for the Content-Type header and that the
2040+
responses is minimal, checking for the Content-Type header and that the
20412041
response code is a 200.
20422042
* (on behalf of Sergey Tikhomirov) Refactored PageFactory implementation,
20432043
including a number of changes to make it more extensible and more robust.
@@ -2070,9 +2070,9 @@ v2.46.0
20702070
Finally, this commit also introduces a breaking change in
20712071
IElementLocatorFactory. Developers of classes that implement this
20722072
interface will now be required to implement the CreateLocator method,
2073-
which will return a valid IElementLocator implmentation. This is to
2073+
which will return a valid IElementLocator implementation. This is to
20742074
prepare for the removal of the IElementLocatorFactory interface and its
2075-
implmentations in a future release.
2075+
implementations in a future release.
20762076
* Added FindsByAllAttribute to .NET PageFactory implementation. This allows
20772077
the user to specify that an element must match the criteria of all of the
20782078
FindsBy attributes a property or field is marked with in order to be found
@@ -2085,7 +2085,7 @@ v2.46.0
20852085
matching all locators.
20862086
* (on behalf of Chris Block) Changed ExecuteJavaScript extension method for
20872087
converting result, so that it now validates that the ExecuteJavaScript
2088-
extension method will correctly detect if the script result is convertable
2088+
extension method will correctly detect if the script result is convertible
20892089
to the generic type.
20902090
* (on behalf of Yi Zeng) Added constructor overload which takes in single
20912091
DriverService parameter. This pattern was already implemented in
@@ -2094,7 +2094,7 @@ v2.46.0
20942094
allows projects that use a WebDriver-like JSON-over-HTTP wire protocol to
20952095
add additional end points for their use. It does this by exposing (and
20962096
renaming) a formerly internal method on the singleton CommandInfoRepository
2097-
class. To add additonal commands, one would call the TryAddCommand method,
2097+
class. To add additional commands, one would call the TryAddCommand method,
20982098
which is now public. Fixes Google Code issue #8594.
20992099
* Added ability to handle W3C spec compliant element serialization.
21002100
* (on behalf of Eberhard Beilharz) Made PhantomJS driver more cross-platform
@@ -2110,7 +2110,7 @@ v2.45.0
21102110
* Supports native events for Firefox versions 31 (current ESR), and
21112111
24 (immediately previous ESR). Native event support has been discontinued
21122112
for versions of Firefox later than 33.
2113-
* Removed automatic installation of SafariDriver extention for .NET.
2113+
* Removed automatic installation of SafariDriver extension for .NET.
21142114
From this point forward, users are expected to manually install the
21152115
SafariDriver extension into their Safari installation in order to drive
21162116
the browser. This is due to Apple's changes in architecture for Safari
@@ -2134,7 +2134,7 @@ v2.45.0
21342134
cookies) into other future profiles, simulating persistent changes over
21352135
multiple browser launches. Fixes issue #7374.
21362136
* Introduced type safe option in InternetExplorerOptions to set the
2137-
capability to disable check of mime type of the doucment when setting
2137+
capability to disable check of mime type of the document when setting
21382138
cookies. When setting cookies, there is a check in the IE driver to
21392139
validate that the page in the browser is, in fact, an HTML page. Despite
21402140
the fact that omitting this check can cause unrecoverable crashes in the
@@ -2264,7 +2264,7 @@ v2.40.0
22642264
* Modified to allow user to specify name of driver service executable in .NET.
22652265
We now give an overload to CreateDefaultService for ChromeDriverService,
22662266
PhantomJSDriverService, and InternetExplorerDriverService to allow the
2267-
user to specify the name of the service exectuable. This is particularly
2267+
user to specify the name of the service executable. This is particularly
22682268
useful for non-Windows platforms where the executable does not end with
22692269
'.exe'. It also allows the user to rename the executable to a name of
22702270
their choosing and still be able to use it from the .NET bindings.
@@ -2377,7 +2377,7 @@ v2.34.0
23772377
false.
23782378
* Added type-safe Proxy property to .NET InternetExplorerOptions class. Also
23792379
added support for the ie.usePerProcessProxy capability via the
2380-
UsePerProcessProxy propery.
2380+
UsePerProcessProxy property.
23812381
* Issue #5999: Rearranged command line generated for PhantomJS. This
23822382
rearranges the order of arguments so that PhantomJS command line arguments
23832383
appear before the GhostScript main.js file (if any).
@@ -2439,7 +2439,7 @@ v2.31.2
24392439
hard-coded "proxy" objects the .NET PageFactory implementation. Hopefully,
24402440
this will resolve the issues the PageFactory for everyone. Nevertheless,
24412441
there is every possibility that will entirely break the PageFactory in some
2442-
unforseen way for some subset of users, despite the fact that all of the
2442+
unforeseen way for some subset of users, despite the fact that all of the
24432443
tests (both unit and browser-based tests) pass. If that is the case, feel
24442444
free to file issues, if the issues include code samples that reproduce the
24452445
problem.
@@ -2486,7 +2486,7 @@ v2.30.0
24862486
attempt to help diagnose the root cause of issue #3719. Please note that it
24872487
makes no effort whatsoever to "fix" the issue. This is simply hoping to
24882488
provide more information for those who have run into that issue, and see if
2489-
all occurrances have the same root cause.
2489+
all occurrences have the same root cause.
24902490
* Only adding environment variables for Firefox process if they do not already
24912491
exist.
24922492
* Properly passing requireWindowFocus capability when set in .NET bindings.
@@ -2583,7 +2583,7 @@ v2.26.0
25832583
DriverServiceCommandExecutor.
25842584
* Shortcut trying to convert element to ILocatable if an Action in the .NET
25852585
bindings is called specifically with a null value for element.
2586-
* Added the LibraryExtractionPath propery to InternetExplorerDriverService to
2586+
* Added the LibraryExtractionPath property to InternetExplorerDriverService to
25872587
be able to set the location to which the support library of the
25882588
IEDriverServer.exe is extracted.
25892589
* Implementing SuppressInitialDiagnosticInformation property on DriverService
@@ -2794,7 +2794,7 @@ v2.13.0
27942794

27952795
v2.12.0
27962796
=======
2797-
* Added experimental IWindow interface for controling size and position of
2797+
* Added experimental IWindow interface for controlling size and position of
27982798
browser windows.
27992799

28002800
v2.11.0

dotnet/src/webdriver/Chromium/ChromiumOptions.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ public void AddLocalStatePreference(string preferenceName, object preferenceValu
383383
/// </summary>
384384
/// <param name="deviceName">The name of the device to emulate. The device name must be a
385385
/// valid device name from the Chrome DevTools Emulation panel.</param>
386-
/// <remarks>Specifying an invalid device name will not throw an exeption, but
386+
/// <remarks>Specifying an invalid device name will not throw an exception, but
387387
/// will generate an error in Chrome when the driver starts. To unset mobile
388388
/// emulation, call this method with <see langword="null"/> as the argument.</remarks>
389389
public void EnableMobileEmulation(string? deviceName)
@@ -399,7 +399,7 @@ public void EnableMobileEmulation(string? deviceName)
399399
/// object containing the settings of the device to emulate.</param>
400400
/// <exception cref="ArgumentException">Thrown if the device settings option does
401401
/// not have a user agent string set.</exception>
402-
/// <remarks>Specifying an invalid device name will not throw an exeption, but
402+
/// <remarks>Specifying an invalid device name will not throw an exception, but
403403
/// will generate an error in Chrome when the driver starts. To unset mobile
404404
/// emulation, call this method with <see langword="null"/> as the argument.</remarks>
405405
public void EnableMobileEmulation(ChromiumMobileEmulationDeviceSettings? deviceSettings)

dotnet/src/webdriver/DevTools/CommandResponseExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ namespace OpenQA.Selenium.DevTools;
2525
public static class ICommandResponseExtensions
2626
{
2727
/// <summary>
28-
/// Returns the strongly-typed response for an object impelementing the <see cref="ICommandResponse"/> interface.
28+
/// Returns the strongly-typed response for an object implementing the <see cref="ICommandResponse"/> interface.
2929
/// </summary>
3030
/// <typeparam name="TCommandResponse">The concrete implementation type of command response expected.</typeparam>
3131
/// <param name="response">The <see cref="ICommandResponse"/> object to convert to the implementation type</param>

dotnet/src/webdriver/DevTools/ConsoleApiCalledEventArgs.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public class ConsoleApiCalledEventArgs : EventArgs
3030
/// <summary>
3131
/// Initializes a new instance of the <see cref="ConsoleApiCalledEventArgs"/> type.
3232
/// </summary>
33-
/// <param name="timestamp">The time stanp when the browser's console API is called.</param>
33+
/// <param name="timestamp">The time stamp when the browser's console API is called.</param>
3434
/// <param name="type">The type of message when the browser's console API is called.</param>
3535
/// <param name="arguments">The arguments of the call to the browser's console API.</param>
3636
/// <exception cref="ArgumentNullException">If <paramref name="arguments"/> is <see langword="null"/>.</exception>
@@ -42,7 +42,7 @@ public ConsoleApiCalledEventArgs(DateTime timestamp, string type, ReadOnlyCollec
4242
}
4343

4444
/// <summary>
45-
/// Gets the time stanp when the browser's console API is called.
45+
/// Gets the time stamp when the browser's console API is called.
4646
/// </summary>
4747
public DateTime Timestamp { get; }
4848

dotnet/src/webdriver/DevTools/DevToolsSession.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -473,7 +473,7 @@ private async Task InitializeSession()
473473
await this.Domains.Target.SetAutoAttach().ConfigureAwait(false);
474474
LogTrace("AutoAttach is set.", this.attachedTargetId);
475475

476-
// The Target domain needs to send Session-less commands! Else the waitForDebugger setting in setAutoAttach wont work!
476+
// The Target domain needs to send Session-less commands! Else the waitForDebugger setting in setAutoAttach won't work!
477477
if (options.WaitForDebuggerOnStart)
478478
{
479479
var setAutoAttachCommand = Domains.Target.CreateSetAutoAttachCommand(true);

dotnet/src/webdriver/DriverService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ protected virtual bool IsInitialized
187187
using (var response = Task.Run(async () => await httpClient.GetAsync(serviceHealthUri)).GetAwaiter().GetResult())
188188
{
189189
// Checking the response from the 'status' end point. Note that we are simply checking
190-
// that the HTTP status returned is a 200 status, and that the resposne has the correct
190+
// that the HTTP status returned is a 200 status, and that the response has the correct
191191
// Content-Type header. A more sophisticated check would parse the JSON response and
192192
// validate its values. At the moment we do not do this more sophisticated check.
193193
isInitialized = response.StatusCode == HttpStatusCode.OK && response.Content.Headers.ContentType is { MediaType: string mediaType } && mediaType.StartsWith("application/json", StringComparison.OrdinalIgnoreCase);

0 commit comments

Comments
 (0)