code: def setProxy(self, protocol="http"):
          
          # Setting proxy
          try:
              new = { protocol: self.proxies[protocol]}
              self.br.set_proxies( new )
          except:
              # No proxy defined for that protocol
              pass
docs: Public method to set a proxy for the browser.