Class BrowserSteps

java.lang.Object
com.shaft.cucumber.BrowserSteps

public class BrowserSteps extends Object
  • Constructor Details

  • Method Details

    • getBrowser

      @Given("I Open the target browser") public void getBrowser()
      Read the target browser value from the execution.properties file
    • maximizeWindow

      @When("I Maximize the current window") public void maximizeWindow()
    • setWindowSize

      @When("I Resize the current window size to {int} width * {int} height") public void setWindowSize(int width, int height)
    • fullScreenWindow

      @When("I Full Screen the current window") public void fullScreenWindow()
    • refreshCurrentPage

      @When("I Refresh the current window") public void refreshCurrentPage()
    • closeCurrentWindow

      @When("I Close the current window") public void closeCurrentWindow()
      Closes the current browser window