NdsBeisUi/src/test/java/com/northgateps/nds/beis/ui/view/javascript/sessionbleed/SessionBleedSteps.java
// using windows rather than tabs as support in Selenium exists
using windows rather than tabs as support in Selenium exists
using windows rather than tabs as support in Selenium exists
@When("^I switch to the first tab$")
    public void i_switch_to_the_first_tab() throws Throwable {
        List<String> handles = new ArrayList<String> (webDriver.getWindowHandles());
        webDriver.switchTo().window(handles.get(0));
    }
@ When ( "^I switch to the first tab$" ) public void i_switch_to_the_first_tab ( ) throws Throwable { List < String > handles = new ArrayList < String > ( webDriver . getWindowHandles ( ) ) ; webDriver . switchTo ( ) . window ( handles . get ( 0 ) ) ; }
using windows rather than tabs as support in Selenium exists
using windows rather than tabs as support in Selenium exists