Пример #1
0
 public void Initialize()
 {
     _driver = StaticWebDriverFactory.GetRemoteWebDriver(browser: _browser, gridUrl: new Uri("http://localhost:4444/wd/hub"), proxy: null);
     //_driver = StaticWebDriverFactory.GetLocalWebDriver(_browser, false);
 }
Пример #2
0
 public void RemoteWebDriverCanBeLaunchedAndLoadExampleDotCom(Browser browser)
 {
     Driver     = StaticWebDriverFactory.GetRemoteWebDriver(browser, new Uri("http://localhost:4444/wd/hub"), PlatformType.Any);
     Driver.Url = "https://example.com/";
     Driver.Title.Should().Be("Example Domain");
 }