File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed
java/src/org/openqa/selenium/chrome Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -153,7 +153,9 @@ public static ChromeDriverService createDefaultService() {
153
153
* be configured to use a free port on the current system.
154
154
*
155
155
* @return A new ChromeDriverService using the supplied configuration from {@link ChromeOptions}.
156
+ * @deprecated Use {@link Builder#withLogLevel(ChromeDriverLogLevel)} }
156
157
*/
158
+ @ Deprecated
157
159
public static ChromeDriverService createServiceWithConfig (ChromeOptions options ) {
158
160
return new Builder ()
159
161
.withLogLevel (options .getLogLevel ())
Original file line number Diff line number Diff line change @@ -58,6 +58,10 @@ public ChromeOptions() {
58
58
super (CapabilityType .BROWSER_NAME , CHROME .browserName (), CAPABILITY );
59
59
}
60
60
61
+ /**
62
+ * @deprecated Use {@link ChromeDriverService.Builder#withLogLevel(ChromeDriverLogLevel)} to set log level.
63
+ */
64
+ @ Deprecated
61
65
public ChromeOptions setLogLevel (ChromeDriverLogLevel logLevel ){
62
66
this .logLevel = Require .nonNull ("Log level" , logLevel );
63
67
return this ;
@@ -75,6 +79,10 @@ public ChromeOptions merge(Capabilities extraCapabilities) {
75
79
return newInstance ;
76
80
}
77
81
82
+ /**
83
+ * @deprecated Log Level only applies to {@link ChromeDriverService}.
84
+ */
85
+ @ Deprecated
78
86
public ChromeDriverLogLevel getLogLevel (){
79
87
return logLevel ;
80
88
}
You can’t perform that action at this time.
0 commit comments