Run two different versions of chrome using selenium (Python)

Viewed 4864

I have a scenario to run different versions of chrome in windows (for now let us consider only two). I have found the following way to run an instance of chrome:

chrome_options = webdriver.ChromeOptions()
chrome_options.add_argument('--proxy-server=%s' % proxy)
driver = webdriver.Chrome(
    chrome_options=chrome_options
)

I have default chrome and another version (located in Downloads directory). How do I run any desired version?

EDIT:

I have some blogs written here and here. Hope this helps someone.

1 Answers
Related