We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8b4e370 commit 7b42f86Copy full SHA for 7b42f86
py/selenium/webdriver/edge/options.py
@@ -53,7 +53,7 @@ def to_capabilities(self) -> dict:
53
if self._use_chromium:
54
caps = super(Options, self).to_capabilities()
55
if self._use_webview:
56
- caps['browserName'] = 'WebView2'
+ caps['browserName'] = 'webview2'
57
else:
58
caps['platform'] = 'windows'
59
py/test/unit/selenium/webdriver/edge/edge_options_tests.py
@@ -71,4 +71,4 @@ def test_use_webview():
71
options.use_chromium = True
72
options.use_webview = True
73
caps = options.to_capabilities()
74
- assert caps['browserName'] == "WebView2"
+ assert caps['browserName'] == "webview2"
0 commit comments