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

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

    <tfoot id='wv2S6'></tfoot>

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

    1. 如何在 Windows 10 上安裝 ChromeDriver 并使用 Chrome 運(yùn)

      How do I install ChromeDriver on Windows 10 and run Selenium tests with Chrome?(如何在 Windows 10 上安裝 ChromeDriver 并使用 Chrome 運(yùn)行 Selenium 測(cè)試?)

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

          <tbody id='mQVJG'></tbody>
          <bdo id='mQVJG'></bdo><ul id='mQVJG'></ul>
          • <tfoot id='mQVJG'></tfoot>

            1. <legend id='mQVJG'><style id='mQVJG'><dir id='mQVJG'><q id='mQVJG'></q></dir></style></legend>

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

                本文介紹了如何在 Windows 10 上安裝 ChromeDriver 并使用 Chrome 運(yùn)行 Selenium 測(cè)試?的處理方法,對(duì)大家解決問題具有一定的參考價(jià)值,需要的朋友們下面隨著小編來一起學(xué)習(xí)吧!

                問題描述

                我們有一個(gè) Ubuntu 服務(wù)器,用于在 Chrome 和 Firefox 上運(yùn)行 Selenium 測(cè)試(我安裝了 ChromeDriver),我還想在我的 Windows 10 計(jì)算機(jī)上本地運(yùn)行測(cè)試.我想保持兩臺(tái)計(jì)算機(jī)的 Python 代碼相同.但我沒有找到如何在 Windows 10 上安裝 ChromeDriver?我在文檔中沒有找到它 [1, 2].

                We have an Ubuntu server which we use for running Selenium tests with Chrome and Firefox (I installed ChromeDriver) and I also want to run the tests locally on my Windows 10 computer. I want to keep the Python code the same for both computers. But I didn't find out how to install the ChromeDriver on Windows 10? I didn't find it on the documentation [1, 2].

                這是在 Chrome 中運(yùn)行測(cè)試的代碼:

                Here is the code that runs the test in Chrome:

                import unittest
                from selenium import webdriver
                
                class BaseSeleniumTestCase(unittest.TestCase):
                    ...
                    ...
                    ...
                    ...
                
                    def start_selenium_webdriver(self, chrome_options=None):
                        ...
                        self.driver = webdriver.Chrome(chrome_options=chrome_options)
                        ...
                

                我還發(fā)現(xiàn)了 如何在中運(yùn)行 Selenium WebDriver 測(cè)試用例Chrome?但它似乎不在Python中(沒有標(biāo)記任何編程語(yǔ)言,它是什么?)

                I also found How to run Selenium WebDriver test cases in Chrome? but it seems to be not in Python (no programming language is tagged, what is it?)

                更新 #1: 我在 https://sites.google.com/a/chromium.org/chromedriver/getting-started,但是如果我想為兩者保留相同的 Python 代碼,我應(yīng)該將文件放在 Windows 10 的哪個(gè)位置電腦?

                Update #1: I found some Python code in https://sites.google.com/a/chromium.org/chromedriver/getting-started, but where do I put the file in Windows 10 if I want to keep the same Python code for both computers?

                更新 #2: 我下載了 chromedriver.exe 并將其放在 C:Windows 中,它可以工作,但我沒有看到它記錄在任何地方.

                Update #2: I downloaded and put chromedriver.exe in C:Windows and it works, but I didn't see it documented anywhere.

                推薦答案

                正如 Uri 在問題中所說,在 Update #2 下,下載最新版本的 chromedriver 并將其放置在 C:Windows糾正問題.

                As Uri stated in the question, under Update #2, downloading the latest release of chromedriver and placing it in C:Windows corrects the issue.

                當(dāng)瀏覽器窗口打開(以及命令提示符窗口)時(shí),Chrome 掛起時(shí)遇到了同樣的問題.

                I had the same issue with Chrome hanging when the browser window opens (alongside a command prompt window).

                可以在以下位置找到最新的驅(qū)動(dòng)程序:

                The latest drivers can be found at:

                https://sites.google.com/a/chromium.org/chromedriver/下載

                chromedriver_win32.zip 文件中的版本在我的 64 位系統(tǒng)上運(yùn)行.

                The version in the chromedriver_win32.zip file is working on my 64-bit system.

                這篇關(guān)于如何在 Windows 10 上安裝 ChromeDriver 并使用 Chrome 運(yùn)行 Selenium 測(cè)試?的文章就介紹到這了,希望我們推薦的答案對(duì)大家有所幫助,也希望大家多多支持html5模板網(wǎng)!

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

                相關(guān)文檔推薦

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

                    <bdo id='P6o6b'></bdo><ul id='P6o6b'></ul>
                        <tbody id='P6o6b'></tbody>

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

                          主站蜘蛛池模板: 欧美一区二区视频 | aaaaaaa片毛片免费观看 | 日本电影免费完整观看 | 亚洲国产成人av好男人在线观看 | 国产精品免费在线 | 成在线人视频免费视频 | 九九热在线免费视频 | 亚洲精品在线视频 | 欧美亚洲国产一区二区三区 | 精品久久久久久久久久久久久久 | 欧美精品乱码久久久久久按摩 | 国产精品久久久久久福利一牛影视 | 成人性视频免费网站 | 911精品美国片911久久久 | 日韩久久综合网 | 成av人电影在线 | 国产伦精品一区二区三区在线 | 在线观看免费av网 | 一区二区三区高清在线观看 | 国产高清在线观看 | www操操 | 国产ts人妖另类 | 91精品国产91久久综合桃花 | 欧美成人高清 | 日日干干 | 国产99久久久国产精品 | 日韩精品 电影一区 亚洲 | 欧美理论片在线 | 美国a级毛片免费视频 | 精品久久久久久亚洲精品 | 免费人成激情视频在线观看冫 | 龙珠z国语版在线观看 | 成人无遮挡毛片免费看 | 国产日韩中文字幕 | 国产精品3区 | 亚洲高清一区二区三区 | 91人人澡人人爽 | 国产精品久久一区二区三区 | 欧美久久视频 | 日p视频免费看 | 一级大片网站 |