#NEWLINE# @ contextlib . contextmanager #NEWLINE# def clickable_xpath( self , xpath , timeout = 10 ) : #NEWLINE# #INDENT# self . wait_until_clickable_xpath ( timeout , timeout ) #NEWLINE# ( yield self . selenium . find_element_by_xpath ( xpath ) )