#NEWLINE# @ pytest . fixture ( 'module' ) #NEWLINE# def browser( request ) : #NEWLINE# #INDENT# liveandletdie . port_in_use ( PORT , True ) #NEWLINE# browser = sample_apps . get_browser ( ) #NEWLINE# browser . implicitly_wait ( 3 ) #NEWLINE# def finalizer( ) : #NEWLINE# #INDENT# browser . quit ( ) #NEWLINE# sample_apps . teardown ( ) #NEWLINE# #UNINDENT# request . addfinalizer ( finalizer ) #NEWLINE# return browser