File tree Expand file tree Collapse file tree 3 files changed +7
-3
lines changed
java/src/org/openqa/selenium Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -51,6 +51,7 @@ public class ChromeOptions extends ChromiumOptions<ChromeOptions> {
51
51
* object.
52
52
*/
53
53
public static final String CAPABILITY = "goog:chromeOptions" ;
54
+ public static final String LOGGING_PREFS = "goog:loggingPrefs" ;
54
55
private ChromeDriverLogLevel logLevel ;
55
56
56
57
public ChromeOptions () {
Original file line number Diff line number Diff line change 16
16
// under the License.
17
17
package org .openqa .selenium .edge ;
18
18
19
- import static org .openqa .selenium .remote .Browser .EDGE ;
20
-
21
19
import org .openqa .selenium .Capabilities ;
22
20
import org .openqa .selenium .chromium .ChromiumOptions ;
23
21
import org .openqa .selenium .remote .CapabilityType ;
24
22
23
+ import static org .openqa .selenium .remote .Browser .EDGE ;
24
+
25
25
/**
26
26
* Class to manage options specific to {@link EdgeDriver}.
27
27
*
44
44
public class EdgeOptions extends ChromiumOptions <EdgeOptions > {
45
45
46
46
/**
47
- * Key used to store a set of ChromeOptions in a {@link Capabilities}
47
+ * Key used to store a set of EdgeOptions in a {@link Capabilities}
48
48
* object.
49
49
*/
50
50
public static final String CAPABILITY = "ms:edgeOptions" ;
51
+ public static final String LOGGING_PREFS = "ms:loggingPrefs" ;
51
52
52
53
public EdgeOptions () {
53
54
super (CapabilityType .BROWSER_NAME , EDGE .browserName (), CAPABILITY );
Original file line number Diff line number Diff line change @@ -115,6 +115,8 @@ public interface CapabilityType {
115
115
116
116
/**
117
117
* @deprecated Non W3C compliant
118
+ * Use {@link org.openqa.selenium.chrome.ChromeOptions#LOGGING_PREFS} or
119
+ * Use {@link org.openqa.selenium.edge.EdgeOptions#LOGGING_PREFS}
118
120
*/
119
121
@ Deprecated
120
122
String LOGGING_PREFS = "loggingPrefs" ;
You can’t perform that action at this time.
0 commit comments