File tree 5 files changed +5
-1
lines changed
examples/python/tests/browsers
website_and_docs/content/documentation/webdriver/browsers
5 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ def test_basic_options():
14
14
15
15
@pytest .mark .skipif (sys .platform != "darwin" , reason = "requires Mac" )
16
16
def test_enable_logging ():
17
- service = webdriver .SafariService (service_args = [ "--diagnose" ] )
17
+ service = webdriver .SafariService (enable_logging = True )
18
18
19
19
driver = webdriver .Safari (service = service )
20
20
Original file line number Diff line number Diff line change @@ -69,6 +69,7 @@ Property key: `SafariDriverService.SAFARI_DRIVER_LOGGING`\
69
69
Property value: ` "true" ` or ` "false" `
70
70
{{% /tab %}}
71
71
{{< tab header="Python" >}}
72
+ {{< badge-version version="4.26" >}}
72
73
{{< gh-codeblock path="examples/python/tests/browsers/test_safari.py#L17" >}}
73
74
{{< /tab >}}
74
75
{{< tab header="CSharp" >}}
Original file line number Diff line number Diff line change @@ -68,6 +68,7 @@ Property key: `SafariDriverService.SAFARI_DRIVER_LOGGING`\
68
68
Property value: ` "true" ` or ` "false" `
69
69
{{% /tab %}}
70
70
{{< tab header="Python" >}}
71
+ {{< badge-version version="4.26" >}}
71
72
{{< gh-codeblock path="examples/python/tests/browsers/test_safari.py#L17" >}}
72
73
{{< /tab >}}
73
74
{{< tab header="CSharp" >}}
Original file line number Diff line number Diff line change @@ -68,6 +68,7 @@ Property key: `SafariDriverService.SAFARI_DRIVER_LOGGING`\
68
68
Property value: ` "true" ` or ` "false" `
69
69
{{% /tab %}}
70
70
{{< tab header="Python" >}}
71
+ {{< badge-version version="4.26" >}}
71
72
{{< gh-codeblock path="examples/python/tests/browsers/test_safari.py#L17" >}}
72
73
{{< /tab >}}
73
74
{{< tab header="CSharp" >}}
Original file line number Diff line number Diff line change @@ -71,6 +71,7 @@ Safari 浏览器不允许您选择日志的输出位置或更改级别.
71
71
属性值: ` "true" ` 或 ` "false" `
72
72
{{% /tab %}}
73
73
{{< tab header="Python" >}}
74
+ {{< badge-version version="4.26" >}}
74
75
{{< gh-codeblock path="examples/python/tests/browsers/test_safari.py#L17" >}}
75
76
{{< /tab >}}
76
77
{{< tab header="CSharp" >}}
You can’t perform that action at this time.
0 commit comments