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

        <bdo id='ayk0r'></bdo><ul id='ayk0r'></ul>
      <legend id='ayk0r'><style id='ayk0r'><dir id='ayk0r'><q id='ayk0r'></q></dir></style></legend>

    1. <tfoot id='ayk0r'></tfoot>

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

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

    3. python selenium:WebDriverException:消息:chrome無法訪問

      python selenium: WebDriverException: Message: chrome not reachable(python selenium:WebDriverException:消息:chrome無法訪問)
          <bdo id='rszSD'></bdo><ul id='rszSD'></ul>

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

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

                  <tbody id='rszSD'></tbody>
              1. <tfoot id='rszSD'></tfoot>
                <legend id='rszSD'><style id='rszSD'><dir id='rszSD'><q id='rszSD'></q></dir></style></legend>

                本文介紹了python selenium:WebDriverException:消息:chrome無法訪問的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                問題描述

                我正面臨 python selenium 的問題我輸入了下面的代碼,幾分鐘前它運行良好,但現在它不能說 chrome 無法訪問請幫忙!

                I am facing the issue with python selenium I entered the code below, it worked well few minutes ago, but now it doesn't work saying chrome not reachable Please help!

                from selenium import webdriver
                driver = webdriver.Chrome('/Users/Danny/Downloads/chromedriver_win32/chromedriver')
                driver.get('https://google.com')
                

                結果

                ---------------------------------------------------------------------------
                WebDriverException                        Traceback (most recent call last)
                <ipython-input-36-6bcc3a6d3d05> in <module>()
                ----> 1 driver.get('https://google.com')
                
                ~Anaconda3libsite-packagesseleniumwebdriver
                emotewebdriver.py in get(self, url)
                    322         Loads a web page in the current browser session.
                    323         """
                --> 324         self.execute(Command.GET, {'url': url})
                    325 
                    326     @property
                
                ~Anaconda3libsite-packagesseleniumwebdriver
                emotewebdriver.py in execute(self, driver_command, params)
                    310         response = self.command_executor.execute(driver_command, params)
                    311         if response:
                --> 312             self.error_handler.check_response(response)
                    313             response['value'] = self._unwrap_value(
                    314                 response.get('value', None))
                
                ~Anaconda3libsite-packagesseleniumwebdriver
                emoteerrorhandler.py in check_response(self, response)
                    240                 alert_text = value['alert'].get('text')
                    241             raise exception_class(message, screen, stacktrace, alert_text)
                --> 242         raise exception_class(message, screen, stacktrace)
                    243 
                    244     def _value_or_default(self, obj, key, default):
                
                WebDriverException: Message: chrome not reachable
                  (Session info: chrome=64.0.3282.140)
                  (Driver info: chromedriver=2.35.528161 (5b82f2d2aae0ca24b877009200ced9065a772e73),platform=Windows NT 10.0.16299 x86_64)
                

                編輯

                當我嘗試這段代碼時它確實有效,但我不知道為什么它突然有效有人能解釋一下這段代碼嗎?

                It does work when I try this code, but I don't know why it suddenly works Can someone explain this code?

                driver=webdriver.Chrome(executable_path="C:/UsersDannyDownloadschromedriver_win32chromedriver.exe")
                
                for i in range(1,10):
                driver.get('https://google.com')
                

                推薦答案

                您看到的錯誤提示我們如下:

                The error you are seeing gives us some hint as follows :

                WebDriverException                        Traceback (most recent call last)
                <ipython-input-36-6bcc3a6d3d05> in <module>()
                ----> 1 driver.get('https://google.com')
                

                以下是一些觀察和補救措施:

                Here are some observations and remedies :

                • 首先,我希望您回顧一下 ChromeDriver 二進制文件的確切絕對路徑,我的猜測是:

                • First of all, I would like you to look back at the exact absolute path of the ChromeDriver binary and my guess is instead of :

                /Users/Users/Downloads/chromedriver_win32/chromedriver
                

                應該是:

                /Users/Downloads/chromedriver_win32/chromedriver
                

              2. 此外,傳遞 ChromeDriver 二進制文件位置的更好方法是同時傳遞參數 executable_path,因此該行將是:

              3. Moreover, a better way to pass the location of the ChromeDriver binary would be to pass the argument executable_path along as well, so the line would be :

                driver = webdriver.Chrome(executable_path=r'/Users/Users/Downloads/chromedriver_win32/chromedriver')
                

              4. 最后,每當您調用 get() 方法打開一個 URL 時,請嘗試傳遞 完全限定域名 (FQDN) 如下:

              5. Finally, whenever you invoke get() method to open an URL try to pass the Fully Qualified Domain Name (FQDN) as follows :

                driver.get('https://www.google.co.in')
                

              6. 這篇關于python selenium:WebDriverException:消息: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='lqJP7'><style id='lqJP7'><dir id='lqJP7'><q id='lqJP7'></q></dir></style></legend>
                        <tfoot id='lqJP7'></tfoot>
                        <i id='lqJP7'><tr id='lqJP7'><dt id='lqJP7'><q id='lqJP7'><span id='lqJP7'><b id='lqJP7'><form id='lqJP7'><ins id='lqJP7'></ins><ul id='lqJP7'></ul><sub id='lqJP7'></sub></form><legend id='lqJP7'></legend><bdo id='lqJP7'><pre id='lqJP7'><center id='lqJP7'></center></pre></bdo></b><th id='lqJP7'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='lqJP7'><tfoot id='lqJP7'></tfoot><dl id='lqJP7'><fieldset id='lqJP7'></fieldset></dl></div>

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

                          <tbody id='lqJP7'></tbody>

                          <bdo id='lqJP7'></bdo><ul id='lqJP7'></ul>

                          主站蜘蛛池模板: 欧美福利 | 国产精品视频久久 | 国产高清在线观看 | 午夜影院在线观看视频 | 国产在线观看不卡一区二区三区 | 国产一区亚洲二区三区 | 日本特黄a级高清免费大片 成年人黄色小视频 | 欧美在线视频观看 | 亚洲一区中文字幕 | 成人av免费 | 国产亚洲精品久久午夜玫瑰园 | 丝袜美腿一区二区三区 | 大久 | 国产精品成人一区二区三区夜夜夜 | 久久av一区二区三区 | 亚洲日韩中文字幕一区 | 在线日韩欧美 | 国产在线观看一区二区三区 | www.99热.com| 精久久久 | 国产综合久久 | 最近日韩中文字幕 | 日韩免费一区 | 全免一级毛片 | 一区二区手机在线 | 国产专区在线 | 精品国产一区二区三区久久 | 欧美国产亚洲一区二区 | 一级黄色片美国 | 成人午夜精品 | h小视频| 国产精品不卡视频 | 国产精品免费在线 | 成人在线黄色 | 欧美中文一区 | 欧美日韩免费一区二区三区 | 特黄色一级毛片 | 成人免费视屏 | 日韩精品网站 | 精品久久久久久久久久久久久久 | 国产午夜影院 |