sclevine / agouti

A WebDriver client and acceptance testing library for Go
MIT License
822 stars 105 forks source link

Edge on Headless Mode #193

Open latifuluman opened 5 years ago

latifuluman commented 5 years ago

I can open chrome browser on headless mode by using ChromeOptions method, but I can not open edge on headless mode. EdgeOptions() method would be good like ChromeOptions. I also tried the following approach, but it does not work.

    c := agouti.NewCapabilities()
    c.With("headless")
    d := agouti.Desired(c)
    driver = agouti.EdgeDriver(d)