SHARE
TWEET

Untitled

a guest Jul 23rd, 2019 53 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var options = new ChromeOptions();
  2. options.AddArgument("headless");
  3. options.AddArgument("start-maximized");
  4. options.AddArgument("window-size=1920,1080");
  5. options.AddArgument("no-sandbox");
  6. options.AddArgument("disable-gpu");
  7. options.AddArgument("ignore-certificate-errors");
  8. driver = new ChromeDriver(options)
  9. {
  10. Url = url
  11. };
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top