-
-
Notifications
You must be signed in to change notification settings - Fork 8.6k
Closed
Labels
C-pyPython BindingsPython BindingsD-edgeI-defectSomething is not working as intendedSomething is not working as intendedOS-linux
Description
Description
The execute_cdp_cmd
method doesn't work when using Edge browser via webdriver.Remote
. It works fine for a local driver.
Reproducible Code
import os
from selenium import webdriver
options = webdriver.EdgeOptions()
driver = webdriver.Remote(options=options)
driver.execute_cdp_cmd(
"Page.setDownloadBehavior", {"behavior": "allow", "downloadPath": os.getcwd()}
)
Debugging Logs
selenium.common.exceptions.WebDriverException: Message: unknown command: unknown command: session/5d98429f3d43b2a6df8f5f1b6b9b8c39/goog/cdp/execute
Metadata
Metadata
Assignees
Labels
C-pyPython BindingsPython BindingsD-edgeI-defectSomething is not working as intendedSomething is not working as intendedOS-linux