久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

  • <legend id='vxmQx'><style id='vxmQx'><dir id='vxmQx'><q id='vxmQx'></q></dir></style></legend>

      <tfoot id='vxmQx'></tfoot>

        <i id='vxmQx'><tr id='vxmQx'><dt id='vxmQx'><q id='vxmQx'><span id='vxmQx'><b id='vxmQx'><form id='vxmQx'><ins id='vxmQx'></ins><ul id='vxmQx'></ul><sub id='vxmQx'></sub></form><legend id='vxmQx'></legend><bdo id='vxmQx'><pre id='vxmQx'><center id='vxmQx'></center></pre></bdo></b><th id='vxmQx'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='vxmQx'><tfoot id='vxmQx'></tfoot><dl id='vxmQx'><fieldset id='vxmQx'></fieldset></dl></div>
        • <bdo id='vxmQx'></bdo><ul id='vxmQx'></ul>

        <small id='vxmQx'></small><noframes id='vxmQx'>

      1. Python Selenium Chrome 網絡驅動程序

        Python Selenium Chrome Webdriver(Python Selenium Chrome 網絡驅動程序)

        <small id='b2Xqh'></small><noframes id='b2Xqh'>

              <tbody id='b2Xqh'></tbody>
            <legend id='b2Xqh'><style id='b2Xqh'><dir id='b2Xqh'><q id='b2Xqh'></q></dir></style></legend>
            • <i id='b2Xqh'><tr id='b2Xqh'><dt id='b2Xqh'><q id='b2Xqh'><span id='b2Xqh'><b id='b2Xqh'><form id='b2Xqh'><ins id='b2Xqh'></ins><ul id='b2Xqh'></ul><sub id='b2Xqh'></sub></form><legend id='b2Xqh'></legend><bdo id='b2Xqh'><pre id='b2Xqh'><center id='b2Xqh'></center></pre></bdo></b><th id='b2Xqh'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='b2Xqh'><tfoot id='b2Xqh'></tfoot><dl id='b2Xqh'><fieldset id='b2Xqh'></fieldset></dl></div>
              • <bdo id='b2Xqh'></bdo><ul id='b2Xqh'></ul>
                  <tfoot id='b2Xqh'></tfoot>
                • 本文介紹了Python Selenium Chrome 網絡驅動程序的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  我正在開始自動化這本無聊的東西,我正在嘗試通過 python 打開一個 chrome 網絡瀏覽器.我已經安裝了 selenium 和

                  I'm beginning the automate the boring stuff book and I'm trying to open a chrome web browser through python. I have already installed selenium and

                  我已嘗試運行此文件:

                  from selenium import webdriver
                  from selenium.webdriver.common.by import By
                  from selenium.webdriver.common.keys import Keys
                  
                  browser = webdriver.Chrome()
                  browser.get('https://automatetheboringstuff.com')
                  

                  但正因為如此,我得到了這個錯誤:

                  But because of that I get this Error:

                  Traceback (most recent call last):   File "C:Program Files
                     (x86)Python36-32libsite-packagesseleniumwebdrivercommonservice.py",
                   line 74, in start
                       stdout=self.log_file, stderr=self.log_file)   File "C:Program Files (x86)Python36-32libsubprocess.py", line 707, in __init__
                       restore_signals, start_new_session)   File "C:Program Files (x86)Python36-32libsubprocess.py", line 990, in _execute_child
                       startupinfo) FileNotFoundError: [WinError 2] The system cannot find the file specified
                  

                  在處理上述異常的過程中,又發生了一個異常:

                  During handling of the above exception, another exception occurred:

                  Traceback (most recent call last):   File "C:/Program Files
                  (x86)/Python36-32/test.py", line 5, in <module>
                      browser = webdriver.Chrome()   File "C:Program Files (x86)Python36-32libsite-packagesseleniumwebdriverchromewebdriver.py",
                  line 62, in __init__
                     self.service.start()   File "C:Program Files (x86)Python36-32libsite-packagesseleniumwebdrivercommonservice.py",
                  line 81, in start
                     os.path.basename(self.path), self.start_error_message) selenium.common.exceptions.WebDriverException: Message: 'chromedriver'
                    executable needs to be in PATH. Please see
                  https://sites.google.com/a/chromium.org/chromedriver/home
                  

                  推薦答案

                  你需要指定你的chromedriver所在的路徑.

                  1. 從此處下載所需平臺的 chromedriver.

                  將 chromedriver 放在系統路徑或代碼所在的位置.

                  Place chromedriver on your system path, or where your code is.

                  如果不使用系統路徑,請鏈接您的 chromedriver.exe(對于非 Windows 用戶,它只是稱為 chromedriver):

                  If not using a system path, link your chromedriver.exe (For non-Windows users, it's just called chromedriver):

                  browser = webdriver.Chrome(executable_path=r"C:path	ochromedriver.exe")
                  

                  (將 executable_path 設置為您的 chromedriver 所在的位置.)

                  (Set executable_path to the location where your chromedriver is located.)

                  如果您已將 chromedriver 放置在系統路徑中,則只需執行以下操作即可快捷方式:

                  If you've placed chromedriver on your System Path, you can shortcut by just doing the following:

                  browser = webdriver.Chrome()

                  如果您運行的是基于 Unix 的操作系統,您可能需要在下載后更新 chromedriver 的權限以使其可執行:

                  If you're running on a Unix-based operating system, you may need to update the permissions of chromedriver after downloading it in order to make it executable:

                  chmod +x chromedriver

                  就是這樣.如果您仍然遇到問題,可以在其他 StackOverflow 文章中找到更多信息:可以'不要為 Selenium 使用 chrome 驅動程序

                  That's all. If you're still experiencing issues, more info can be found on this other StackOverflow article: Can't use chrome driver for Selenium

                  這篇關于Python Selenium Chrome 網絡驅動程序的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

                  【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

                  相關文檔推薦

                  How to make a discord bot that gives roles in Python?(如何制作一個在 Python 中提供角色的不和諧機器人?)
                  Discord bot isn#39;t responding to commands(Discord 機器人沒有響應命令)
                  Can you Get the quot;About mequot; feature on Discord bot#39;s? (Discord.py)(你能得到“關于我嗎?Discord 機器人的功能?(不和諧.py))
                  message.channel.id Discord PY(message.channel.id Discord PY)
                  How do I host my discord.py bot on heroku?(如何在 heroku 上托管我的 discord.py 機器人?)
                  discord.py - Automaticaly Change an Role Color(discord.py - 自動更改角色顏色)
                    <legend id='M4gOc'><style id='M4gOc'><dir id='M4gOc'><q id='M4gOc'></q></dir></style></legend>
                    <tfoot id='M4gOc'></tfoot>
                      <i id='M4gOc'><tr id='M4gOc'><dt id='M4gOc'><q id='M4gOc'><span id='M4gOc'><b id='M4gOc'><form id='M4gOc'><ins id='M4gOc'></ins><ul id='M4gOc'></ul><sub id='M4gOc'></sub></form><legend id='M4gOc'></legend><bdo id='M4gOc'><pre id='M4gOc'><center id='M4gOc'></center></pre></bdo></b><th id='M4gOc'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='M4gOc'><tfoot id='M4gOc'></tfoot><dl id='M4gOc'><fieldset id='M4gOc'></fieldset></dl></div>

                    1. <small id='M4gOc'></small><noframes id='M4gOc'>

                          • <bdo id='M4gOc'></bdo><ul id='M4gOc'></ul>
                              <tbody id='M4gOc'></tbody>
                            主站蜘蛛池模板: 色黄视频在线 | 成人在线黄色 | 国产精品欧美一区二区三区 | 亚洲精品欧洲 | 日日碰狠狠躁久久躁婷婷 | 欧美小视频在线观看 | 日韩精品一区二区三区 | 97人人草 | 影音先锋中文字幕在线观看 | 精品久久久久香蕉网 | 超碰在线网站 | 国产伦精品一区二区三区高清 | 国产91在线 | 欧美 | 天天操夜夜爽 | 特黄色一级毛片 | 日韩午夜在线观看 | 日日干日日操 | 欧美亚洲国语精品一区二区 | 精品免费视频 | 日韩精品 电影一区 亚洲 | 久久久精彩视频 | 男女羞羞视频网站 | 国产无套一区二区三区久久 | 免费黄色片在线观看 | 在线免费观看黄色 | eeuss国产一区二区三区四区 | 欧美成人aaa级毛片在线视频 | 国产一区二区精 | 国产精品二区三区在线观看 | 人人澡人人射 | 成人亚洲精品久久久久软件 | av日韩一区 | 三级特黄特色视频 | 久久久综合网 | 国产一区二区三区四区在线观看 | 女同久久另类99精品国产 | 99精品视频在线 | 欧美在线观看一区 | 精品欧美一区二区三区久久久 | 天天干.com| 久久一区二区免费视频 |