1package com.testpros.fast;2import com.testpros.fast.reporter.Step;3import org.openqa.selenium.Capabilities;4import org.openqa.selenium.firefox.FirefoxOptions;5import org.openqa.selenium.firefox.GeckoDriverService;6import org.openqa.selenium.firefox.XpiDriverService;7public class FirefoxDriver extends RemoteWebDriver {8 public FirefoxDriver() {9 Step step = setupStep();10 try {11 seleniumRemoteWebDriver = new org.openqa.selenium.firefox.FirefoxDriver();12 passStep(step);13 } catch (Exception e) {14 failStep(step, e);15 } finally {16 reporter.addStep(step);17 }18 }19 @Deprecated20 public FirefoxDriver(Capabilities capabilities) {21 this.capabilities = capabilities;22 Step step = setupStep();23 try {24 seleniumRemoteWebDriver = new org.openqa.selenium.firefox.FirefoxDriver(capabilities);25 passStep(step);26 } catch (Exception e) {27 failStep(step, e);28 } finally {29 reporter.addStep(step);30 }31 }32 @Deprecated33 public FirefoxDriver(GeckoDriverService service, Capabilities desiredCapabilities) {34 this.service = service;35 this.capabilities = desiredCapabilities;36 Step step = setupStep();37 try {38 seleniumRemoteWebDriver = new org.openqa.selenium.firefox.FirefoxDriver(service, desiredCapabilities);39 passStep(step);40 } catch (Exception e) {41 failStep(step, e);42 } finally {43 reporter.addStep(step);44 }45 }46 public FirefoxDriver(FirefoxOptions options) {47 this.options = options;48 Step step = setupStep();49 try {50 seleniumRemoteWebDriver = new org.openqa.selenium.firefox.FirefoxDriver(options);51 passStep(step);52 } catch (Exception e) {53 failStep(step, e);54 } finally {55 reporter.addStep(step);56 }57 }58 public FirefoxDriver(GeckoDriverService service) {59 this.service = service;60 Step step = setupStep();61 try {62 seleniumRemoteWebDriver = new org.openqa.selenium.firefox.FirefoxDriver(service);63 passStep(step);64 } catch (Exception e) {65 failStep(step, e);66 } finally {67 reporter.addStep(step);68 }69 }70 public FirefoxDriver(XpiDriverService service) {71 this.service = service;72 Step step = setupStep();73 try {74 seleniumRemoteWebDriver = new org.openqa.selenium.firefox.FirefoxDriver(service);75 passStep(step);76 } catch (Exception e) {77 failStep(step, e);78 } finally {79 reporter.addStep(step);80 }81 }82 public FirefoxDriver(GeckoDriverService service, FirefoxOptions options) {83 this.service = service;84 this.options = options;85 Step step = setupStep();86 try {87 seleniumRemoteWebDriver = new org.openqa.selenium.firefox.FirefoxDriver(service, options);88 passStep(step);89 } catch (Exception e) {90 failStep(step, e);91 } finally {92 reporter.addStep(step);93 }94 }95 public FirefoxDriver(XpiDriverService service, FirefoxOptions options) {96 this.service = service;...