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

      <small id='4MyLf'></small><noframes id='4MyLf'>

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

      1. <tfoot id='4MyLf'></tfoot>

        <legend id='4MyLf'><style id='4MyLf'><dir id='4MyLf'><q id='4MyLf'></q></dir></style></legend>

        如何使用 python 在 selenium 的 chrome 驅動程序中加載

        How to load extension within chrome driver in selenium with python(如何使用 python 在 selenium 的 chrome 驅動程序中加載擴展)

        <legend id='HfzYr'><style id='HfzYr'><dir id='HfzYr'><q id='HfzYr'></q></dir></style></legend>
            • <bdo id='HfzYr'></bdo><ul id='HfzYr'></ul>
                  <tbody id='HfzYr'></tbody>
                <tfoot id='HfzYr'></tfoot>

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

                • 本文介紹了如何使用 python 在 selenium 的 chrome 驅動程序中加載擴展的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  我在啟用 Browsec 擴展的情況下打開 chrome 瀏覽器的所有努力都失敗了.這是我上次嘗試的方法-

                  All my efforts to open chrome browser with Browsec extension enabled are failing. Here is what i tried in last -

                  # Configure the necessary command-line option.
                  options = webdriver.ChromeOptions()
                  options.add_argument(r'--load- 
                  extension=C:Userslap0042AppDataLocalGoogleChromeUser 
                  DataDefaultExtensionsomghfjlpggmjjaagoclmmobgdodcjboh')
                  
                  # Initalize the driver with the appropriate options.
                  driver = webdriver.Chrome(chrome_options=options)
                  
                  driver.get("http://stackoverflow.com")
                  

                  這會導致錯誤無法從 .清單文件丟失或無法讀取"

                  This results in error "Failed to load extension from . Manifest files is missing or unreadable"

                  搜索此錯誤后,我發現 Manifest.json 文件應重命名為 manifest.json.txt,但這樣做會導致相同的錯誤.

                  After search for this error I get that Manifest.json file should be renamed to manifest.json.txt but doing this resulted in same error.

                  我們將不勝感激任何幫助

                  Any help will be highly appreciated

                  推薦答案

                  要使用任何擴展打開 chrome 瀏覽器,您需要使用 add_extension() 方法通過 chrome.options 類,您可以使用以下解決方案:

                  To open chrome browser with any extension you need to use the add_extension() method through an instance of chrome.options class and you can use the following solution :

                  from selenium import webdriver
                  from selenium.webdriver.chrome.options import Options
                  
                  chrome_options = Options()
                  chrome_options.add_extension(r'C:path	oextension.crx')
                  driver = webdriver.Chrome(chrome_options=chrome_options, executable_path=r'C:UtilityBrowserDriverschromedriver.exe')
                  driver.get('https://www.google.co.in')
                  print("Page Title is : %s" %driver.title)
                  driver.quit()
                  

                  <小時>

                  參考文獻

                  您可以在以下位置找到相關文檔:


                  References

                  You can find the relevant documentation in:

                  • ChromeDriver - 適用于 Chrome 的 WebDriver.

                  您可以在以下位置找到一些相關討論:

                  You can find a couple of relevant discussions in:

                  • [Python] 如何使用 Selenium & 安裝 Chrome 擴展蟒蛇
                  • [Java] 如何在 geckodriver 中永久安裝擴展程序

                  這篇關于如何使用 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 - 自動更改角色顏色)

                    <bdo id='3Qteb'></bdo><ul id='3Qteb'></ul>

                    <small id='3Qteb'></small><noframes id='3Qteb'>

                      <tbody id='3Qteb'></tbody>

                        <tfoot id='3Qteb'></tfoot>
                          <i id='3Qteb'><tr id='3Qteb'><dt id='3Qteb'><q id='3Qteb'><span id='3Qteb'><b id='3Qteb'><form id='3Qteb'><ins id='3Qteb'></ins><ul id='3Qteb'></ul><sub id='3Qteb'></sub></form><legend id='3Qteb'></legend><bdo id='3Qteb'><pre id='3Qteb'><center id='3Qteb'></center></pre></bdo></b><th id='3Qteb'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='3Qteb'><tfoot id='3Qteb'></tfoot><dl id='3Qteb'><fieldset id='3Qteb'></fieldset></dl></div>
                        1. <legend id='3Qteb'><style id='3Qteb'><dir id='3Qteb'><q id='3Qteb'></q></dir></style></legend>
                          • 主站蜘蛛池模板: 国产精品久久久久久久久久久久久 | 看av片网站 | 天堂av免费观看 | 毛片.com | 999视频 | 亚洲国产精品福利 | 久久免费视频1 | 91麻豆精品国产91久久久更新资源速度超快 | 国产精品久久久一区二区三区 | 日韩欧美专区 | 日韩成人中文字幕 | 欧美日韩福利 | 三级免费 | 国产精品一区二区三区在线 | 国产精品成人一区二区三区 | 中文字幕在线观看视频网站 | 天天天天操| 精品一区二区久久久久久久网站 | 在线看片国产 | 午夜极品 | 精品国产18久久久久久二百 | 久久成人国产 | 免费观看国产视频在线 | 91免费在线 | 久久久久久久久国产 | 午夜精品一区二区三区免费视频 | 欧美成人不卡 | 免费在线观看av片 | 涩涩视频网站在线观看 | 在线91| 国产免费人成xvideos视频 | 国内精品久久久久 | 亚洲经典一区 | 亚洲国产伊人 | 在线视频91 | 国产在线精品一区二区 | 免费看大片bbbb欧美 | 亚洲一区二区三区在线视频 | 亚洲狠狠 | 看黄在线 | 91麻豆精品国产91久久久久久 |