File tree Expand file tree Collapse file tree 1 file changed +0
-15
lines changed
java/client/src/org/openqa/selenium/edge Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Original file line number Diff line number Diff line change 19
19
20
20
import static org .openqa .selenium .remote .CapabilityType .PAGE_LOAD_STRATEGY ;
21
21
22
- import com .google .common .collect .ImmutableMap ;
23
-
24
22
import org .openqa .selenium .Capabilities ;
25
23
import org .openqa .selenium .MutableCapabilities ;
26
- import org .openqa .selenium .Platform ;
27
24
import org .openqa .selenium .Proxy ;
28
25
import org .openqa .selenium .remote .BrowserType ;
29
26
import org .openqa .selenium .remote .CapabilityType ;
30
27
31
- import java .util .Map ;
32
28
import java .util .Objects ;
33
29
34
30
50
46
*/
51
47
public class EdgeOptions extends MutableCapabilities {
52
48
53
- /**
54
- * Key used to store a set of EdgeOptions in a {@link Capabilities} object.
55
- */
56
- public static final String CAPABILITY = "edgeOptions" ;
57
-
58
49
public EdgeOptions () {
59
50
setCapability (CapabilityType .BROWSER_NAME , BrowserType .EDGE );
60
- setCapability (CapabilityType .PLATFORM , Platform .WINDOWS );
61
51
}
62
52
63
53
@ Override
@@ -92,9 +82,4 @@ public EdgeOptions setProxy(Proxy proxy) {
92
82
MutableCapabilities toCapabilities () {
93
83
return this ;
94
84
}
95
-
96
- @ Override
97
- public Map <String , Object > asMap () {
98
- return ImmutableMap .of (CAPABILITY , super .asMap ());
99
- }
100
85
}
You can’t perform that action at this time.
0 commit comments