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

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

      <tfoot id='tjyXS'></tfoot>

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

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

      1. RemoteWebDriver 拋出“org.openqa.selenium.SessionNotCreate

        RemoteWebDriver throws quot;org.openqa.selenium.SessionNotCreatedException: Unable to create new remote sessionquot;(RemoteWebDriver 拋出“org.openqa.selenium.SessionNotCreatedException:無法創(chuàng)建新的遠(yuǎn)程會話) - IT屋-程序員軟件
        <legend id='42d1A'><style id='42d1A'><dir id='42d1A'><q id='42d1A'></q></dir></style></legend>
          <tbody id='42d1A'></tbody>

          <bdo id='42d1A'></bdo><ul id='42d1A'></ul>
        • <tfoot id='42d1A'></tfoot>

                <small id='42d1A'></small><noframes id='42d1A'>

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

                1. 本文介紹了RemoteWebDriver 拋出“org.openqa.selenium.SessionNotCreatedException:無法創(chuàng)建新的遠(yuǎn)程會話"的處理方法,對大家解決問題具有一定的參考價(jià)值,需要的朋友們下面隨著小編來一起學(xué)習(xí)吧!

                  問題描述

                  我正在嘗試從集線器到節(jié)點(diǎn)運(yùn)行一個簡單的代碼,集線器和節(jié)點(diǎn)連接成功.

                  I'am trying to run a simple code from hub to node, hub and node connections are successful.

                  執(zhí)行程序時(shí)出現(xiàn)異常

                  org.openqa.selenium.SessionNotCreatedException
                  

                  我提到的Chrome驅(qū)動路徑是可以從節(jié)點(diǎn)機(jī)器訪問的共享路徑.

                  Chrome driver path which I have mentioned is a share path that can be accessible from the node machine.

                  • Chrome 版本:58.0.3029.110
                  • Chrome 驅(qū)動程序版本:2.9

                  Hub 和 Node 都是遠(yuǎn)程機(jī)器.

                  Both Hub and Node are remote machines.

                  下面是使用的代碼:

                  public static void main(String[] args) throws MalformedURLException {
                  
                      WebDriver driver;
                      System.setProperty("webdriver.chrome.driver", "Q:\xxxxx\chromedriver.exe");
                      DesiredCapabilities dc = new DesiredCapabilities();
                      dc.setBrowserName("chrome");
                      dc.setPlatform(Platform.VISTA);
                      driver = new RemoteWebDriver(new URL("http://10.xx.xxx.xx:5566/wd/hub"), dc); //node url
                      driver.get("https://www.google.com");
                  
                  }
                  

                  以下是控制臺消息:

                  Exception in thread "main" org.openqa.selenium.SessionNotCreatedException: Unable to create new remote session. desired capabilities = Capabilities [{browserName=chrome, platform=VISTA}], required capabilities = Capabilities [{}]
                  Build info: version: '3.0.1', revision: '1969d75', time: '2016-10-18 09:49:13 -0700'
                  System info: host: 'A5DAFC-W7A-0012', ip: '10.xx.xxx.xx', os.name: 'Windows 7', os.arch: 'x86', os.version: '6.1', java.version: '1.8.0_131'
                  Driver info: driver.version: RemoteWebDriver
                      at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:91)
                      at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:141)
                      at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:601)
                      at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:241)
                      at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:128)
                      at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:155)
                      at testcases.Grid.main(Grid.java:23)
                  

                  推薦答案

                  這是您問題的答案:

                  正如您使用以下命令啟動 Selenium Grid Hub:

                  As you have used the following command to start the Selenium Grid Hub:

                   java -jar selenium-server-standalone-3.4.0.jar -role hub -port 4123
                  

                  要通過 chromedriver.exeGoogle Chrome 瀏覽器執(zhí)行您的代碼塊,您可以考慮在端口 上啟動 Selenium Grid Node>5566 通過這個命令:

                  To execute your code block through chromedriver.exe and Google Chrome Browser you can consider to start the Selenium Grid Node on port 5566 through this command:

                  java -Dwebdriver.chrome.driver=chromedriver.exe -jar selenium-server-standalone-3.4.0.jar -role node -hub http://localhost:4123/grid/register -port 5566
                  

                  通過 <IP_of_GridHub>:4123/grid/console 訪問 Selenium Grid Hub 控制臺以查看正在注冊的節(jié)點(diǎn).

                  Access the Selenium Grid Hub Console through <IP_of_GridHub>:4123/grid/console to see the Node being registered.

                  如果這能回答您的問題,請告訴我.

                  Let me know if this Answers your Question.

                  這篇關(guān)于RemoteWebDriver 拋出“org.openqa.selenium.SessionNotCreatedException:無法創(chuàng)建新的遠(yuǎn)程會話"的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網(wǎng)!

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

                  相關(guān)文檔推薦

                  How can I detect integer overflow on 32 bits int?(如何檢測 32 位 int 上的整數(shù)溢出?)
                  Local variables before return statements, does it matter?(return 語句之前的局部變量,這有關(guān)系嗎?)
                  How to convert Integer to int?(如何將整數(shù)轉(zhuǎn)換為整數(shù)?)
                  How do I create an int array with randomly shuffled numbers in a given range(如何在給定范圍內(nèi)創(chuàng)建一個隨機(jī)打亂數(shù)字的 int 數(shù)組)
                  Inconsistent behavior on java#39;s ==(java的行為不一致==)
                  Why is Java able to store 0xff000000 as an int?(為什么 Java 能夠?qū)?0xff000000 存儲為 int?)

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

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

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

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

                          • <legend id='QjN3u'><style id='QjN3u'><dir id='QjN3u'><q id='QjN3u'></q></dir></style></legend>
                            主站蜘蛛池模板: 亚洲一级毛片 | 日韩欧美国产成人一区二区 | 欧美精品在线一区二区三区 | 中文字幕一区二区三 | 国产真实乱全部视频 | 欧美福利精品 | 黄色欧美大片 | 欧美一级淫片免费视频黄 | 黄色一级大片在线观看 | 久久久www成人免费无遮挡大片 | 9久久婷婷国产综合精品性色 | 日韩中文一区 | 91社区在线观看播放 | 日韩一区欧美一区 | 亚洲午夜精品久久久久久app | 一区二区三区中文字幕 | 久久久久亚洲精品 | 欧美成人a∨高清免费观看 色999日韩 | 毛片免费在线 | 欧美无乱码久久久免费午夜一区 | 国产精品国产亚洲精品看不卡15 | 国产一区久久 | 精品亚洲视频在线 | 日本不卡一区二区三区 | 免费亚洲婷婷 | 日韩欧美亚洲 | 欧美精品一区三区 | 一二三四在线视频观看社区 | av中文字幕在线播放 | 国产在线视频一区二区 | 99久热| 二区久久 | 欧美精品在线一区 | 欧美黑人国产人伦爽爽爽 | 伊人春色成人网 | 亚洲成人日韩 | 国产精品国产亚洲精品看不卡15 | 黄色a三级 | 欧美黑人国产人伦爽爽爽 | 亚洲人成免费 | 自拍偷拍亚洲视频 |