I want to know if it's possible to do something like this :
if( "#in bitbucket pipeline" ):
options = Options()
options.headless = True
cls.selenium = WebDriver(options=options)
else:
cls.selenium = WebDriver()
Simply because i need to run my test in headless on bitbucket but not localy..
Python 3.6
django 3