python用selenium操作firefox浏览器示例

[python] 2024-03-29 圈点305

摘要:python用selenium操作firefox浏览器示例

python用selenium操作firefox浏览器示例

示例:

from selenium import webdriver
driver = webdriver.Firefox(executable_path = 'D:\\apth\\geckodriver.exe')
driver.get("http://www.xoxxoo.com")
driver.quit()


  

相关内容:

感谢反馈,已提交成功,审核后即会显示