# Lazy objects, for the serializer to find them we put them here

class LazyDriver(object):
    _driver = None

    @classmethod
    def get(cls):
        if cls._driver is None:
            from selenium import webdriver
            # Configure headless mode
            options = webdriver.ChromeOptions() #Oops
            options.add_argument('headless')
            cls._driver = webdriver.Chrome(chrome_options=options)
        return cls._driver


class LazyPool(object):
    _pool = None
    
    @classmethod
    def get(cls):
        if cls._pool is None:
            import urllib3
            cls._pool = urllib3.PoolManager()
        return cls._pool

@@ -132,32 +132,50 @@
   def get(cls):%0A
+        import os%0A
         if cls._
@@ -370,16 +370,184 @@
 dless')%0A
+            chrome_options.add_argument('--ignore-certificate-errors')%0A            chrome_uptions.add_argument(%22--logs /tmp/chromelogpanda%7B0%7D.log%22.format(os.getpid()))%0A
         

Add some more arguments for chrome driver