Skip to content

Instantly share code, notes, and snippets.

@itsmnthn
Created May 11, 2022 06:50

Revisions

  1. itsmnthn created this gist May 11, 2022.
    3 changes: 3 additions & 0 deletions chromedriver-proxy-selenium.py
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,3 @@
    chrome_options = webdriver.ChromeOptions()
    chrome_options.add_argument('--proxy-server=%s' % hostname + ":" + port)
    driver = webdriver.Chrome(chrome_options=chrome_options)