Stream < T > function ( By arg0 ) { return searchContext . findElements ( arg0 ) . stream ( ) . map ( webElement -> factory . pageFragment ( fragmentClass , webElement ) ) ; }
creates a stream of pagefragment page fragments using the finder 's specified class and the given by . instances of these can be created using the byproducers utility class . the stream might be empty if no matching webelement webelements could be found . concode_field_sep PageFragmentFactory factory concode_elem_sep SearchContext searchContext concode_elem_sep Class<T> fragmentClass concode_field_sep T by concode_elem_sep T by