You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: