python的selenium模块博客园_selenium 模块的使用
一、為什么會用?selenium 模塊:
運用過程中遇到錯誤:
Traceback (most recent call last):
File "C:\Users\Administrator\AppData\Roaming\Python\Python37\site-packages\selenium\webdriver\common\service.py", line 76, in start
stdin=PIPE)
File "C:\Program Files (x86)\Python37-32\lib\subprocess.py", line 775, in __init__
restore_signals, start_new_session)
File "C:\Program Files (x86)\Python37-32\lib\subprocess.py", line 1178, in _execute_child
startupinfo)
PermissionError: [WinError 5] 拒絕訪問。
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\Administrator\Desktop\顛覆性命名.py", line 3, in
driver = webdriver.Chrome("C:/Users/Administrator/AppData/Local/Google/Chrome/Application")
File "C:\Users\Administrator\AppData\Roaming\Python\Python37\site-packages\selenium\webdriver\chrome\webdriver.py", line 73, in __init__
self.service.start()
File "C:\Users\Administrator\AppData\Roaming\Python\Python37\site-packages\selenium\webdriver\common\service.py", line 88, in start
os.path.basename(self.path), self.start_error_message)
selenium.common.exceptions.WebDriverException: Message: 'Application' executable may have wrong permissions. Please see https://sites.google.com/a/chromium.org/chromedriver/home
總結
以上是生活随笔為你收集整理的python的selenium模块博客园_selenium 模块的使用的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: js整体缩小网页_妙用JavaScrip
- 下一篇: python三方库打包项目中_将Pyth