title: Code unreachable when adding Selenium ChromeOptions
body: <p>For some reason my Python code displays as unreachable after adding a series of WebDriver options. Does anyone know why this is happening and how it can be fixed?
  <a href="https://i.stack.imgur.com/2hcxt.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/2hcxt.png" alt="enter image description here" /></a></p>
  <p>Code itself is below:</p>
  <pre><code>class DriverOptions(object):
  
    def __init__(self):
  
      self.options = Options()
      self.options.add_argument('--no-sandbox')
      self.options.add_argument('--start-maximized')
      self.options.add_argument('--start-fullscreen')
      self.options.add_argument('--single-process')
      self.options.add_argument('--disable-dev-shm-usage')
      self.options.add_argument(&quot;--incognito&quot;)
      self.options.add_argument('--disable-blink-features=AutomationControlled')
      self.options.add_argument('--disable-blink-features=AutomationControlled')
      self.options.add_experimental_option('useAutomationExtension', False)
      self.options.add_experimental_option(&quot;excludeSwitches&quot;, [&quot;enable-automation&quot;])
      self.options.add_argument(&quot;disable-infobars&quot;)
  
      self.helperSpoofer = Spoofer()
  
      self.options.add_argument('user-agent={}'.format(self.helperSpoofer.userAgent))
      self.options.add_argument('--proxy-server=%s' % self.helperSpoofer.ip)
  </code></pre>