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

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

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

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

        SessionNotCreatedException:消息:無法創建新服務:通過

        SessionNotCreatedException: Message: Unable to create new service: ChromeDriverService with ChromeDriver and SeleniumGrid through Python(SessionNotCreatedException:消息:無法創建新服務:通過 Python 使用 ChromeDriver 和 SeleniumGr
          <tbody id='C3aoy'></tbody>
        <legend id='C3aoy'><style id='C3aoy'><dir id='C3aoy'><q id='C3aoy'></q></dir></style></legend>

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

          • <tfoot id='C3aoy'></tfoot>

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

                • <bdo id='C3aoy'></bdo><ul id='C3aoy'></ul>

                  本文介紹了SessionNotCreatedException:消息:無法創建新服務:通過 Python 使用 ChromeDriver 和 SeleniumGrid 的 ChromeDriverService的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  您好,任何人都知道發生了什么或如何調試錯誤,如下所示.我所做的步驟是使用設置集線器命令并將節點注冊到集線器.在命令注冊節點之后.我可以看到日志為

                  Hi anyone know what is going on or how I can debug the error as following. the step I did is using setup hub command and register node to hub. after the command register node. I can see the log as

                  The node is registered to the hub and ready to use 
                  

                  但是,當我運行測試腳本時,我的錯誤打印為:

                  However when I run the test script I have error print up as:

                  selenium.common.exceptions.SessionNotCreatedException: Message: Unable to create new service: ChromeDriverService
                  

                  二進制版本:

                  • selenium 獨立版本:3.14.0
                  • selenium 遠程驅動版本:selenium==3.14.1
                  • python 版本:3.6.4

                  腳本:

                  import os
                  from selenium import webdriver
                  from selenium.webdriver.common.desired_capabilities import DesiredCapabilities
                  
                  driver = webdriver.Remote(command_executor='http://localhost:4444/wd/hub',
                                            desired_capabilities=DesiredCapabilities.CHROME)
                  

                  設置中心:

                  #java -jar /Users/admin/selenium-server-standalone-3.14.0.jar -host localhost -role hub
                  

                  注冊節點:

                  #java -jar /Users/admin/selenium-server-standalone-3.14.0.jar -role node
                  

                  錯誤:

                  E       selenium.common.exceptions.SessionNotCreatedException: Message: Unable to create new service: ChromeDriverService
                  E       Build info: version: '3.14.0', revision: 'aacccce0', time: '2018-08-02T20:13:22.693Z'
                  E       Driver info: driver.version: unknown
                  E       Stacktrace:
                  E           at org.openqa.selenium.remote.server.ServicedSession$Factory.lambda$get$0 (ServicedSession.java:134)
                  E           at org.openqa.selenium.remote.server.ServicedSession$Factory.apply (ServicedSession.java:151)
                  E           at org.openqa.selenium.remote.server.ActiveSessionFactory.lambda$apply$12 (ActiveSessionFactory.java:177)
                  E           at java.util.stream.ReferencePipeline$3$1.accept (ReferencePipeline.java:193)
                  ...
                  E           at java.util.concurrent.Executors$RunnableAdapter.call (Executors.java:511)
                  E           at java.util.concurrent.FutureTask.run (FutureTask.java:266)
                  E           at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1142)
                  E           at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:617)
                  E           at java.lang.Thread.run (Thread.java:745)
                  
                  ../lib/python3.6/site-packages/selenium/webdriver/remote/errorhandler.py:242: SessionNotCreatedException
                  

                  推薦答案

                  這個錯誤信息...

                  selenium.common.exceptions.SessionNotCreatedException: Message: Unable to create new service: ChromeDriverService
                  

                  ...暗示 ChromeDriver 無法啟動/生成新的 ChromeDriverService.

                  ...implies that the ChromeDriver was unable to initiate/spawn a new ChromeDriverService.

                  commandsincompatibility 在您使用的二進制文件版本之間存在幾個問題,如下所示:

                  There are a couple of issues in the commands and incompatibility between the version of the binaries you are using as follows:

                  • 您的 JDK 版本1.8.0_91,非常古老.
                  • JDK 升級到最新級別 JDK 8u181.
                  • 要注冊一個Selenium Grid Hub,您需要使用以下命令:

                  • Your JDK version is 1.8.0_91 which is pretty ancient.
                  • Upgrade JDK to recent levels JDK 8u181.
                  • To register a Selenium Grid Hub you need to use the following command:

                  >java -jar /Users/admin/selenium-server-standalone-3.14.0.jar -role hub
                  

                • 要為ChromeDriverChrome注冊一個Selenium Grid Node,你需要傳遞ChromeDriver的絕對路徑 以及 Registration URIKeyValue 如下:

                • To register a Selenium Grid Node for ChromeDriver and Chrome you need to pass the absolute path of the ChromeDriver along with the Key and Value of the Registration URI as follows:

                  >java -Dwebdriver.chrome.driver=/path/to/chromedriver.exe -jar /Users/admin/selenium-server-standalone-3.14.0.jar -role node -hub http://<IP_GRID_HUB>:4444/grid/register
                  

                • 你的代碼塊在我看來不錯.

                • You code block looks good to me.

                  這篇關于SessionNotCreatedException:消息:無法創建新服務:通過 Python 使用 ChromeDriver 和 SeleniumGrid 的 ChromeDriverService的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持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 - 自動更改角色顏色)
                  • <bdo id='c0kLW'></bdo><ul id='c0kLW'></ul>
                  • <legend id='c0kLW'><style id='c0kLW'><dir id='c0kLW'><q id='c0kLW'></q></dir></style></legend>
                    <i id='c0kLW'><tr id='c0kLW'><dt id='c0kLW'><q id='c0kLW'><span id='c0kLW'><b id='c0kLW'><form id='c0kLW'><ins id='c0kLW'></ins><ul id='c0kLW'></ul><sub id='c0kLW'></sub></form><legend id='c0kLW'></legend><bdo id='c0kLW'><pre id='c0kLW'><center id='c0kLW'></center></pre></bdo></b><th id='c0kLW'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='c0kLW'><tfoot id='c0kLW'></tfoot><dl id='c0kLW'><fieldset id='c0kLW'></fieldset></dl></div>

                      • <small id='c0kLW'></small><noframes id='c0kLW'>

                        <tfoot id='c0kLW'></tfoot>

                              <tbody id='c0kLW'></tbody>

                            主站蜘蛛池模板: 97成人免费 | 视频一区在线观看 | 亚洲精品久久嫩草网站秘色 | 欧美色a v| 国产色婷婷精品综合在线播放 | 亚洲性在线| 国产精品一区二区无线 | 久久精品 | 99久久精品国产一区二区三区 | 国产精品日日夜夜 | 国产精品久久久久久影院8一贰佰 | 日韩一区二区免费视频 | 国产www. | 亚洲欧洲激情 | 日韩一区精品 | 午夜性色a√在线视频观看9 | 色综合久久天天综合网 | 一区二区三区四区在线视频 | 精品乱码久久久久 | 免费成人在线网站 | 精品在线一区 | 91精品国产一区二区三区 | 美女黄18岁以下禁止观看 | 亚洲看片 | 日韩视频一区在线观看 | 亚洲精品一区二区三区中文字幕 | 美国黄色毛片 | 久操亚洲 | 日干夜干 | 精品一区二区三区在线观看国产 | 日韩精品a在线观看图片 | 成人福利影院 | 久久一本| 国产精品久久久久久久久久久久久久 | 久久久久国产精品 | aaa在线观看 | 中文福利视频 | 国产成人精品久久二区二区 | 无吗视频| 2021狠狠干| 久久久激情 |