Set chrome.prefs with python binding for selenium in chromedriver

前端 未结 5 1189
我寻月下人不归
我寻月下人不归 2020-12-04 22:37

I have been searching all day for this and it seems that there is no solution currently available from the chromedriver implementation for python.

how do you set spe

5条回答
  •  感动是毒
    2020-12-04 23:24

    Just a small update for everybody else stumbling over this question.

    For newer versions the following code works without problems:

    options.add_experimental_option('prefs', {'download.default_directory':'C:\\temp'})
    

提交回复
热议问题