Skip to content

Commit

Permalink
Simplify driver implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
MJL33 committed Jun 1, 2022
1 parent 6fa6820 commit 71caf9d
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,9 @@
import com.frameworkium.core.ui.driver.drivers.BrowserStackImpl;
import com.frameworkium.core.ui.driver.drivers.ChromeImpl;
import com.frameworkium.core.ui.driver.drivers.EdgeImpl;
import com.frameworkium.core.ui.driver.drivers.ElectronImpl;
import com.frameworkium.core.ui.driver.drivers.FirefoxImpl;
import com.frameworkium.core.ui.driver.drivers.GridImpl;
import com.frameworkium.core.ui.driver.drivers.InternetExplorerImpl;
import com.frameworkium.core.ui.driver.drivers.LegacyFirefoxImpl;
import com.frameworkium.core.ui.driver.drivers.SafariImpl;
import com.frameworkium.core.ui.driver.drivers.SauceImpl;
import com.frameworkium.core.ui.driver.remotes.BrowserStack;
Expand Down Expand Up @@ -61,8 +59,6 @@ private static Driver createDriverImpl(Browser browser) {
switch (browser) {
case FIREFOX:
return new FirefoxImpl();
case LEGACYFIREFOX:
return new LegacyFirefoxImpl();
case CHROME:
return new ChromeImpl();
case EDGE:
Expand All @@ -71,8 +67,6 @@ private static Driver createDriverImpl(Browser browser) {
return new InternetExplorerImpl();
case SAFARI:
return new SafariImpl();
case ELECTRON:
return new ElectronImpl();
case CUSTOM:
String customBrowserImpl = Property.CUSTOM_BROWSER_IMPL.getValue();
try {
Expand Down

0 comments on commit 71caf9d

Please sign in to comment.