Skip to content

edge headless mode doesn't work  #18

Open
@mnru

Description

@mnru

the code below works well

Sub testChromeHeadlessMode()
Dim driver As New WebDriver
Dim options As New WebDriverOptions
options.BrowserType = Chrome
options.ChromeArguments.Add "--headless"
driver.Chrome "driver/path"
driver.OpenBrowser options
Debug.Print "finished"
End Sub

but the code below doesn't work

Sub testEdgeHeadlessMode()
Dim driver As New WebDriver
Dim options As New WebDriverOptions
options.BrowserType = Edge
options.EdgeArguments.Add "--headless"
driver.Edge "driver/path"
driver.OpenBrowser options
Debug.Print "finished"
End Sub

I don't know how to fix this code

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions