标签: python selenium-webdriver
我想知道如何保存在python文件中创建的配置文件
from selenium import webdriver def f(): fp = webdriver.FirefoxProfile('/profiles') driver = webdriver.Firefox(firefox_profile=fp) driver.get('https://www.google.com/') return driver f()