Skip to content

Commit fbe29a9

Browse files
committed
Silencing .NET documentation build warnings. No functional changes.
1 parent 26b1823 commit fbe29a9

File tree

5 files changed

+16
-4
lines changed

5 files changed

+16
-4
lines changed

dotnet/src/core/DefaultSelenium.cs

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ public DefaultSelenium(String serverHost, int serverPort, String browserString,
119119
/// <summary>
120120
/// Uses an arbitrary CommandProcessor
121121
/// </summary>
122+
/// <param name="processor">An ICommandProcessor to be used.</param>
122123
public DefaultSelenium(ICommandProcessor processor)
123124
{
124125
this.commandProcessor = processor;
@@ -135,6 +136,7 @@ public ICommandProcessor Processor
135136
/// <summary>
136137
/// Sets the extension Javascript for the session
137138
/// </summary>
139+
/// <param name="extensionJs">The extention JavaScript to use.</param>
138140
public void SetExtensionJs(string extensionJs)
139141
{
140142
commandProcessor.SetExtensionJs(extensionJs);
@@ -149,9 +151,9 @@ public void Start()
149151
}
150152

151153
/// <summary>
152-
///
154+
/// Starts a new Selenium testing session
153155
/// </summary>
154-
/// <param name="optionsString"></param>
156+
/// <param name="optionsString">The options to use for the session.</param>
155157
public void Start(string optionsString)
156158
{
157159
commandProcessor.Start(optionsString);
@@ -1798,8 +1800,8 @@ public String CaptureScreenshotToString()
17981800
/// <summary>
17991801
/// Captures the Network Traffic that is passing through Selenium Server
18001802
/// </summary>
1801-
/// <param name="type"></param>
1802-
/// <returns></returns>
1803+
/// <param name="type">Type of traffic to capture</param>
1804+
/// <returns>The traffic passing through the Selenium Server.</returns>
18031805
public string CaptureNetworkTraffic(string type)
18041806
{
18051807
return commandProcessor.GetString("captureNetworkTraffic", new string[] {type});

dotnet/src/core/HttpCommandProcessor.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ private byte[] BuildCommandPostData(string commandString)
150150
/// <summary>
151151
/// Sets the extension Javascript to be used in the created session
152152
/// </summary>
153+
/// <param name="extensionJs">The extension JavaScript to use.</param>
153154
public void SetExtensionJs(string extensionJs)
154155
{
155156
this.extensionJs = extensionJs;

dotnet/src/core/ICommandProcessor.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ public interface ICommandProcessor
3434
/// <summary>
3535
/// Sets the extension Javascript to be used in the created session
3636
/// </summary>
37+
/// <param name="extensionJs">The extension JavaScript to use.</param>
3738
void SetExtensionJs(string extensionJs) ;
3839
/// <summary>
3940
/// Starts a new Selenium testing session

dotnet/src/core/ISelenium.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ public interface ISelenium
7979
/// <summary>
8080
/// Sets the extension Javascript for the session
8181
/// </summary>
82+
/// <param name="extensionJs">The extension JavaScript to use.</param>
8283
void SetExtensionJs(string extensionJs);
8384

8485
/// <summary>

dotnet/src/webdriver/Remote/RemoteWebDriver.cs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -904,6 +904,13 @@ protected virtual RemoteWebElement CreateElement(string elementId)
904904
return toReturn;
905905
}
906906

907+
/// <summary>
908+
/// Executes JavaScript in the context of the currently selected frame or window using a specific command.
909+
/// </summary>
910+
/// <param name="script">The JavaScript code to execute.</param>
911+
/// <param name="commandName">The name of the command to execute.</param>
912+
/// <param name="args">The arguments to the script.</param>
913+
/// <returns>The value returned by the script.</returns>
907914
protected object ExecuteScriptCommand(string script, string commandName, params object[] args)
908915
{
909916
if (!this.Capabilities.IsJavaScriptEnabled)

0 commit comments

Comments
 (0)