forked from groupon/Selenium-Grid-Extras
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
88a3f4d
commit 8179334
Showing
22 changed files
with
1,073 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
...umGridExtras/src/main/java/com/groupon/seleniumgridextras/config/capabilities/MsEdge.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
package com.groupon.seleniumgridextras.config.capabilities; | ||
|
||
public class MsEdge extends Capability { | ||
|
||
@Override | ||
public String getWebDriverClass() { | ||
return "org.openqa.selenium.edge.EdgeDriver"; | ||
} | ||
|
||
@Override | ||
public String getIcon() { | ||
return "iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAALZSURBVDhPXVNfSFNRGP/OOffPNnRRGK5CysiYFFH4kpAPkeJDFPXSWy8FpVAo/YMeepDs1ZdQsN56iDAMLBRBEkQwC4UgI825XDXnrmNzm3Nzu+ecvnPvJPQ3zs653zm/3/2+33cPgV1oiEZ9esS4otmFC4TkDxOSJoQlY5Ran/PGxrvpM+3R8lEHOwTOTmWushLpY1IEkIyRLFCyDkgGRmJA6O+S0OK9xarA44naroLiUPWn0DiZ69C3PINUsACAxJ9AdYE7HGcb5yLOBd2QG50VmeXxy2sPKxXPETg3mW9mttGDSyKFAG4rksRHV8AZxMYYilAJOuGNNJF8gRtAGmZmdE/m1Pd4OFIXi6zAZq4IkmpgGAz2H9ThaNAG02NhGX+A0TBoWgKYyYDpTIKhN1IzfbLl55evdaH5v5CTfpD+GoDKQ1A0qyFqVcLstAZ2qWwVJqXyUiAECANxnS7PLbauJYsAFQcAzD0AzMBdCiSVmADBgpsF//HVFe84biANh1KQ6JESkxCklpU9Ar4ql1gGC38DbWXpDnTXL0D3icV9e/O3QGrINZCE7qA1yivJeZbazF/aJqtESSYJNIU1C3DapOCtACxYx5UHBfQyGbOwxQBFR0LuMTc7mracErgoXnSjGGfeB1gfkn3OEEjmnPcP1r96g20kY+VzLoruiwkXT8xLL4+pNfd5HoHQ26Q0e4TwPrNtren96ddtqtcEBiSD+fAc2hpUh9FVYImYkwVmtIo1t/Ohm0MY2G4Afu/9uhnI1WwN3wu7/en6dR6IGEMRRtYt0BZmADTT2VKQUkZQYApbl5JSVIGwmyQv3OAj90f/34Wn4dt4tE+9mv34BDSbxnYo43aB20LyYqc90vFcPe64TNC11IK3p5dwu46GZvFbsFAORbAcZTG6H5LEvss/dIy6hN0CCo4ny61YcjNZj9eSeISQbCqCPfvIzepheHtNXY4yAP4BZck/RGFnkbYAAAAASUVORK5CYII="; | ||
} | ||
} |
62 changes: 62 additions & 0 deletions
62
...umGridExtras/src/main/java/com/groupon/seleniumgridextras/config/driver/MsEdgeDriver.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
/** | ||
* Copyright (c) 2013, Groupon, Inc. | ||
* All rights reserved. | ||
* | ||
* Redistribution and use in source and binary forms, with or without | ||
* modification, are permitted provided that the following conditions | ||
* are met: | ||
* | ||
* Redistributions of source code must retain the above copyright notice, | ||
* this list of conditions and the following disclaimer. | ||
* | ||
* Redistributions in binary form must reproduce the above copyright | ||
* notice, this list of conditions and the following disclaimer in the | ||
* documentation and/or other materials provided with the distribution. | ||
* | ||
* Neither the name of GROUPON nor the names of its contributors may be | ||
* used to endorse or promote products derived from this software without | ||
* specific prior written permission. | ||
* | ||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS | ||
* IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED | ||
* TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A | ||
* PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
* HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED | ||
* TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR | ||
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF | ||
* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING | ||
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS | ||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
* Created with IntelliJ IDEA. | ||
* User: Dima Kovalenko (@dimacus) && Darko Marinov | ||
* Date: 5/10/13 | ||
* Time: 4:06 PM | ||
*/ | ||
package com.groupon.seleniumgridextras.config.driver; | ||
|
||
import com.groupon.seleniumgridextras.config.RuntimeConfig; | ||
|
||
public class MsEdgeDriver extends DriverInfo { | ||
|
||
@Override | ||
public String getExecutablePath() { | ||
|
||
String | ||
path = | ||
this.getDirectory() + RuntimeConfig.getOS().getFileSeparator() + getExecutableName(); | ||
|
||
return path; | ||
} | ||
|
||
@Override | ||
public String getExecutableName() { | ||
String exe = "msedgedriver_" + this.getVersion() + "_" + this.getBit() + "bit"; | ||
|
||
if (RuntimeConfig.getOS().isWindows()) { | ||
exe = exe + ".exe"; | ||
} | ||
return exe; | ||
} | ||
} |
Oops, something went wrong.