@ DataProvider ( parallel = true ) public static Iterator < String [ ] > availableBrowsers ( ITestContext context , Constructor < ? > testConstructor ) throws Exception { Map < String , String > map = new HashMap < String , String > ( ) ; List < String > browsers = gridBrowsers ( map ) ; return buildIterator ( browsers ) ; }
Get the browsers available in a selenium grid .