#NEWLINE# def checktitle( self , title ) : #NEWLINE# #INDENT# if ( self . driver . title != title ) : #NEWLINE# #INDENT# print ( 'Title is {0} (expected: {1})' . format ( self . driver . title , title ) ) #NEWLINE# sys . exit ( ( - 1 ) )