File tree Expand file tree Collapse file tree 5 files changed +5
-1
lines changed 
examples/python/tests/browsers 
website_and_docs/content/documentation/webdriver/browsers Expand file tree Collapse file tree 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():
1414
1515@pytest .mark .skipif (sys .platform  !=  "darwin" , reason = "requires Mac" ) 
1616def  test_enable_logging ():
17-     service  =  webdriver .SafariService (service_args = [ "--diagnose" ] )
17+     service  =  webdriver .SafariService (enable_logging = True )
1818
1919    driver  =  webdriver .Safari (service = service )
2020
Original file line number Diff line number Diff line change @@ -69,6 +69,7 @@ Property key: `SafariDriverService.SAFARI_DRIVER_LOGGING`\
6969Property value: ` "true" `  or ` "false" ` 
7070{{% /tab %}}
7171{{< tab header="Python" >}}
72+ {{< badge-version version="4.26" >}}
7273{{< gh-codeblock path="examples/python/tests/browsers/test_safari.py#L17" >}}
7374{{< /tab >}}
7475{{< tab header="CSharp" >}}
Original file line number Diff line number Diff line change @@ -68,6 +68,7 @@ Property key: `SafariDriverService.SAFARI_DRIVER_LOGGING`\
6868Property value: ` "true" `  or ` "false" ` 
6969{{% /tab %}}
7070{{< tab header="Python" >}}
71+ {{< badge-version version="4.26" >}}
7172{{< gh-codeblock path="examples/python/tests/browsers/test_safari.py#L17" >}}
7273{{< /tab >}}
7374{{< tab header="CSharp" >}}
Original file line number Diff line number Diff line change @@ -68,6 +68,7 @@ Property key: `SafariDriverService.SAFARI_DRIVER_LOGGING`\
6868Property value: ` "true" `  or ` "false" ` 
6969{{% /tab %}}
7070{{< tab header="Python" >}}
71+ {{< badge-version version="4.26" >}}
7172{{< gh-codeblock path="examples/python/tests/browsers/test_safari.py#L17" >}}
7273{{< /tab >}}
7374{{< tab header="CSharp" >}}
Original file line number Diff line number Diff line change @@ -71,6 +71,7 @@ Safari 浏览器不允许您选择日志的输出位置或更改级别.
7171属性值: ` "true" `  或 ` "false" ` 
7272{{% /tab %}}
7373{{< tab header="Python" >}}
74+ {{< badge-version version="4.26" >}}
7475{{< gh-codeblock path="examples/python/tests/browsers/test_safari.py#L17" >}}
7576{{< /tab >}}
7677{{< tab header="CSharp" >}}
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments