Skip to content

Commit

Permalink
Silencing .NET documentation build warnings. No functional changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
jimevans committed Feb 19, 2014
1 parent 26b1823 commit fbe29a9
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 4 deletions.
10 changes: 6 additions & 4 deletions dotnet/src/core/DefaultSelenium.cs
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ public DefaultSelenium(String serverHost, int serverPort, String browserString,
/// <summary>
/// Uses an arbitrary CommandProcessor
/// </summary>
/// <param name="processor">An ICommandProcessor to be used.</param>
public DefaultSelenium(ICommandProcessor processor)
{
this.commandProcessor = processor;
Expand All @@ -135,6 +136,7 @@ public ICommandProcessor Processor
/// <summary>
/// Sets the extension Javascript for the session
/// </summary>
/// <param name="extensionJs">The extention JavaScript to use.</param>
public void SetExtensionJs(string extensionJs)
{
commandProcessor.SetExtensionJs(extensionJs);
Expand All @@ -149,9 +151,9 @@ public void Start()
}

/// <summary>
///
/// Starts a new Selenium testing session
/// </summary>
/// <param name="optionsString"></param>
/// <param name="optionsString">The options to use for the session.</param>
public void Start(string optionsString)
{
commandProcessor.Start(optionsString);
Expand Down Expand Up @@ -1798,8 +1800,8 @@ public String CaptureScreenshotToString()
/// <summary>
/// Captures the Network Traffic that is passing through Selenium Server
/// </summary>
/// <param name="type"></param>
/// <returns></returns>
/// <param name="type">Type of traffic to capture</param>
/// <returns>The traffic passing through the Selenium Server.</returns>
public string CaptureNetworkTraffic(string type)
{
return commandProcessor.GetString("captureNetworkTraffic", new string[] {type});
Expand Down
1 change: 1 addition & 0 deletions dotnet/src/core/HttpCommandProcessor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ private byte[] BuildCommandPostData(string commandString)
/// <summary>
/// Sets the extension Javascript to be used in the created session
/// </summary>
/// <param name="extensionJs">The extension JavaScript to use.</param>
public void SetExtensionJs(string extensionJs)
{
this.extensionJs = extensionJs;
Expand Down
1 change: 1 addition & 0 deletions dotnet/src/core/ICommandProcessor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ public interface ICommandProcessor
/// <summary>
/// Sets the extension Javascript to be used in the created session
/// </summary>
/// <param name="extensionJs">The extension JavaScript to use.</param>
void SetExtensionJs(string extensionJs) ;
/// <summary>
/// Starts a new Selenium testing session
Expand Down
1 change: 1 addition & 0 deletions dotnet/src/core/ISelenium.cs
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ public interface ISelenium
/// <summary>
/// Sets the extension Javascript for the session
/// </summary>
/// <param name="extensionJs">The extension JavaScript to use.</param>
void SetExtensionJs(string extensionJs);

/// <summary>
Expand Down
7 changes: 7 additions & 0 deletions dotnet/src/webdriver/Remote/RemoteWebDriver.cs
Original file line number Diff line number Diff line change
Expand Up @@ -904,6 +904,13 @@ protected virtual RemoteWebElement CreateElement(string elementId)
return toReturn;
}

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

0 comments on commit fbe29a9

Please sign in to comment.