public ExtWebDriver getNewSession ( boolean setAsCurrent ) throws Exception { Map < String , String > options = sessionFactory . get ( ) . createDefaultOptions ( ) ; return getNewSessionDo ( options , setAsCurrent ) ; }
Create and return new ExtWebDriver instance with default options . If setAsCurrent is true set the new session as the current session for this SessionManager .