1
2
3
4
5
6
7
8
9
10
11
12
13
U
\±d¯ã@s,ddlmZddlmZGdd„deƒZdS)é)ÚChromiumOptions)ÚDesiredCapabilitiescsreZdZdZddœ‡fdd„ Zeedœdd„ƒZejeddœd    d„ƒZe    dœ‡fd
d „ Z
ee    dœd d „ƒZ ‡Z S)ÚOptionszms:edgeOptionsN)Úreturncstƒ ¡d|_dS)NF)ÚsuperÚ__init__Ú _use_webview©Úself©Ú    __class__©úVd:\z\workplace\vscode\pyvenv\venv\Lib\site-packages\selenium/webdriver/edge/options.pyrs
zOptions.__init__cCs|jS©N)rr    r r rÚ use_webviewszOptions.use_webview)ÚvaluercCst|ƒ|_dSr)Úboolr)r
rr r rr!scstƒ ¡}|jrd|d<|S)zƒ
        Creates a capabilities with all the options that have been set and
        :Returns: A dictionary with everything
        Zwebview2Z browserName)rÚto_capabilitiesr)r
Zcapsr r rr%s
zOptions.to_capabilitiescCs
tj ¡Sr)rZEDGEÚcopyr    r r rÚdefault_capabilities0szOptions.default_capabilities) Ú__name__Ú
__module__Ú __qualname__ZKEYrÚpropertyrrÚsetterÚdictrrÚ __classcell__r r r rrs rN)Z#selenium.webdriver.chromium.optionsrZ.selenium.webdriver.common.desired_capabilitiesrrr r r rÚ<module>s