fix(webdriver): add missing options object to WebDriver initialization (#35504)

(cherry picked from commit 77c3146829)
This commit is contained in:
Amin Ghadersohi
2025-10-06 13:23:13 -04:00
committed by Joe Li
parent 37e280f5bd
commit 22c8551d64

View File

@@ -358,6 +358,7 @@ class WebDriverSelenium(WebDriverProxy):
for name, value in driver_opts.get("preferences", {}).items():
options.profile.set_preference(str(name), value)
kwargs |= {
"options": options,
"service": service_class(**driver_srv),
}