I am using selenium wire to add proxies to my selenium browser in the following code.
def Proxy(): global options