class DFMProcessorBaseProcessor def __init__self BaseProcessor__init__self selfname = DFMProcessor selflock = selfdriver = selfdisplay = settingsCHROME_DISPLAY
To achieve the desired behavior, you can define the driver
variable in the DFMProcessor
class and pass it to the other classes as needed. Here's an updated version of the code:
class DF