Beispiel #1
0
        private void BrowserInit(DriverOptions driverOptions)
        {
            var browserOptions = new BrowserOptions(driverOptions);

            Browser = new Browser(browserOptions, Output, LogType.XunitConsole, LogType.Text);

            Browser.Navigate.ToUrl(TestSites.GoogleUrl);
        }
Beispiel #2
0
 /// <summary>
 /// Provide a DriverOptions to configure the driver.
 /// NOTE: This options is best for creating reusable configurations as needed for advanced setup.
 /// </summary>
 /// <param name="options"><see cref="DriverOptions"/></param>
 public BrowserOptions(DriverOptions options)
 {
     Driver = options;
 }