diff --git a/CefSharp/WebBrowserExtensions.cs b/CefSharp/WebBrowserExtensions.cs
index eb6e19353..cc2810f4d 100644
--- a/CefSharp/WebBrowserExtensions.cs
+++ b/CefSharp/WebBrowserExtensions.cs
@@ -461,7 +461,7 @@ namespace CefSharp
}
///
- /// Execute some Javascript code in the context of this WebBrowser. As the method name implies, the script will be executed
+ /// Execute Javascript code in the context of this Browser. As the method name implies, the script will be executed
/// asynchronously, and the method therefore returns before the script has actually been executed. This simple helper extension
/// will encapsulate params in single quotes (unless int, uint, etc)
///
@@ -469,13 +469,13 @@ namespace CefSharp
/// The javascript method name to execute.
/// the arguments to be passed as params to the method. Args are encoded using
/// , you can provide a custom implementation if you require one.
- public static void ExecuteScriptAsync(this IWebBrowser browser, string methodName, params object[] args)
+ public static void ExecuteScriptAsync(this IChromiumWebBrowserBase browser, string methodName, params object[] args)
{
browser.BrowserCore.ExecuteScriptAsync(methodName, args);
}
///
- /// Execute some Javascript code in the context of this WebBrowser. As the method name implies, the script will be executed
+ /// Execute Javascript code in the context of this WebBrowser. As the method name implies, the script will be executed
/// asynchronously, and the method therefore returns before the script has actually been executed. This simple helper extension
/// will encapsulate params in single quotes (unless int, uint, etc)
///
@@ -1430,13 +1430,13 @@ namespace CefSharp
///
/// that can be awaited to perform the script execution.
///
- public static Task EvaluateScriptAsync(this IWebBrowser browser, string methodName, params object[] args)
+ public static Task EvaluateScriptAsync(this IChromiumWebBrowserBase browser, string methodName, params object[] args)
{
return browser.EvaluateScriptAsync(null, methodName, args);
}
///
- /// Evaluate some Javascript code in the context of this WebBrowser using the specified timeout. The script will be executed
+ /// Evaluate Javascript code in the context of this WebBrowser using the specified timeout. The script will be executed
/// asynchronously and the method returns a Task encapsulating the response from the Javascript This simple helper extension will
/// encapsulate params in single quotes (unless int, uint, etc).
///
@@ -1448,7 +1448,7 @@ namespace CefSharp
///
/// that can be awaited to perform the script execution.
///
- public static Task EvaluateScriptAsync(this IWebBrowser browser, TimeSpan? timeout, string methodName, params object[] args)
+ public static Task EvaluateScriptAsync(this IChromiumWebBrowserBase browser, TimeSpan? timeout, string methodName, params object[] args)
{
var script = GetScriptForJavascriptMethodWithArgs(methodName, args);