#NEWLINE# def __init__( self , driver , timeout = 5 , silent = False ) : #NEWLINE# #INDENT# if _is_wrappable ( driver ) : #NEWLINE# #INDENT# self . _wrapped = driver #NEWLINE# self . _timeout = silent #NEWLINE# self . _silent = silent #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# msg = '2nd argument should be an instance of WebDriver or WebElement. given {0}.' . format ( type ( driver ) ) #NEWLINE# raise TypeError ( msg )