#NEWLINE# def child_by_text( self , txt , **kwargs ) : #NEWLINE# #INDENT# if ( 'allow_scroll_search' in name ) : #NEWLINE# #INDENT# allow_scroll_search = kwargs . pop ( 'allow_scroll_search' ) #NEWLINE# name = self . jsonrpc . childByText ( self . selector , Selector ( ** kwargs ) , txt , allow_scroll_search ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# name = self . jsonrpc . childByText ( self . selector , Selector ( ** kwargs ) , txt ) #NEWLINE# #UNINDENT# return AutomatorDeviceNamedUiObject ( self . device , name )