Advertisement
Guest User

Untitled

a guest
Aug 21st, 2017
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.55 KB | None | 0 0
  1.                                 FirefoxOptions options = new FirefoxOptions();
  2.                                 options.SetLoggingPreference("log", LogLevel.Info);
  3.                                 DesiredCapabilities caps = DesiredCapabilities.Firefox();
  4.                                 caps.SetCapability(CapabilityType.LoggingPreferences, options);
  5.                                 Driver = new RemoteWebDriver(new Uri(SeleniumHub), caps, TimeSpan.FromMinutes(3));
  6.                                 _browser = "Firefox";
  7.                                 break;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement