Execute() protected méthode

Executes a command with this driver .
protected Execute ( DriverCommand driverCommandToExecute, object>.Dictionary parameters ) : OpenQA.Selenium.Remote.Response
driverCommandToExecute DriverCommand A value representing the command to execute.
parameters object>.Dictionary A containing the names and values of the parameters of the command.
Résultat OpenQA.Selenium.Remote.Response
            /// <summary>
            /// Method for creating a cookie in the browser
            /// </summary>
            /// <param name="cookie"><see cref="Cookie"/> that represents a cookie in the browser</param>
            public void AddCookie(Cookie cookie)
            {
                Dictionary <string, object> parameters = new Dictionary <string, object>();

                parameters.Add("cookie", cookie);
                driver.Execute(DriverCommand.AddCookie, parameters);
            }
            /// <summary>
            /// Move to a different frame using its index
            /// </summary>
            /// <param name="frameIndex">The index of the </param>
            /// <returns>A WebDriver instance that is currently in use</returns>
            public IWebDriver Frame(int frameIndex)
            {
                Dictionary <string, object> parameters = new Dictionary <string, object>();

                parameters.Add("id", frameIndex);
                driver.Execute(DriverCommand.SwitchToFrame, parameters);
                return(driver);
            }
 /// <summary>
 /// Move the browser back
 /// </summary>
 public void Back()
 {
     driver.Execute(DriverCommand.GoBack, null);
 }