def get_attribute_selected(self, attribute):
        """
        Performs search of selected item from Web List
        Return attribute of selected item

        @params attribute - string attribute name
        """
        items_list = self.get_options()
        return next(iter([item.get_attribute(attribute) for item in items_list if item.is_selected()]), None)
def get_attribute_selected ( self , attribute ) : items_list = self . get_options ( ) return next ( iter ( [ item . get_attribute ( attribute ) for item in items_list if item . is_selected ( ) ] ) , None )
Performs search of selected item from Web List
        Return attribute of selected item

        @params attribute - string attribute name