I know that similar questions have been asked before, but I tried many times, and this still does not work for me.
I have only the default profile in firefox (c1r3g2wi.default) and no other profiles. I want my firefox browser to start with this profile when I launch it using the selenium web editor. How to do this in Python?
I have done this:
fp = webdriver.FirefoxProfile('C:\Users\admin\AppData\Roaming\Mozilla\Firefox\Profiles\c1r3g2wi.default') browser = webdriver.Firefox(fp)
But I have an error:
WindowsError: [Error 123] The filename, directory name, or volume label syntax is incorrect: 'C:\\Users\x07dmin\\AppData\\Roaming\\Mozilla\\Firefox\\Profiles\\c1r3g2wi.default/*.*'
Help, or pointers in the right direction, would be greatly appreciated.
source share