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

        <tfoot id='HuQso'></tfoot>
        <legend id='HuQso'><style id='HuQso'><dir id='HuQso'><q id='HuQso'></q></dir></style></legend>

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

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

        Python/Selenium - 無法單擊 www.instagram.com 上的“接受

        Python/Selenium - Cant click#39; Accept cookies#39; button on www.instagram.com(Python/Selenium - 無法單擊 www.instagram.com 上的“接受 cookie按鈕)
              <bdo id='6W60J'></bdo><ul id='6W60J'></ul>

            • <small id='6W60J'></small><noframes id='6W60J'>

                  <tbody id='6W60J'></tbody>
                <legend id='6W60J'><style id='6W60J'><dir id='6W60J'><q id='6W60J'></q></dir></style></legend>

                • <tfoot id='6W60J'></tfoot>
                  <i id='6W60J'><tr id='6W60J'><dt id='6W60J'><q id='6W60J'><span id='6W60J'><b id='6W60J'><form id='6W60J'><ins id='6W60J'></ins><ul id='6W60J'></ul><sub id='6W60J'></sub></form><legend id='6W60J'></legend><bdo id='6W60J'><pre id='6W60J'><center id='6W60J'></center></pre></bdo></b><th id='6W60J'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='6W60J'><tfoot id='6W60J'></tfoot><dl id='6W60J'><fieldset id='6W60J'></fieldset></dl></div>
                  本文介紹了Python/Selenium - 無法單擊 www.instagram.com 上的“接受 cookie"按鈕的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  我正在嘗試使用 python selenium 登錄 instagram.但我必須接受 cookie 才能繼續.

                  Im trying to login on instagram using python selenium. But i have to Accept the cookies in order to continue.

                  這是我的代碼

                  class InstaBot:
                      def __init__(self, username, pw):
                          self.driver = webdriver.Chrome()
                          self.driver.get('https://www.instagram.com/')
                          sleep(2)
                   #this is the code that im trying to use, so to click the accept button 
                  self.driver.find_element_by_xpath("/html/body/div[2]/div/div/div/div[2]/button[1]").click() 
                          self.driver.find_element_by_xpath("//input[@name="username"]")
                              .send_keys(username)
                          self.driver.find_element_by_xpath("//input[@name="password"]")
                              .send_keys(pw)
                          self.driver.find_element_by_xpath("//a[contains(text(), 'Log in')]")
                              .click()
                          sleep(4)
                  

                  問題是當它點擊接受按鈕時它什么也不做.有什么想法嗎?

                  The problem is that when it gets to click the accept button it does nothing. Any ideas?

                  推薦答案

                  試試這個:

                  self.driver.find_element_by_xpath("//button[text()='Accept']").click()
                  

                  我在這里發布了我的解決方案:在 www.instagram.com 上使用 Python/Selenium 接受 cookie 錯誤

                  I posted my solution here: Accepting cookies error with Python/Selenium on www.instagram.com

                  這篇關于Python/Selenium - 無法單擊 www.instagram.com 上的“接受 cookie"按鈕的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持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='TkdAx'><style id='TkdAx'><dir id='TkdAx'><q id='TkdAx'></q></dir></style></legend>

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

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

                        <tfoot id='TkdAx'></tfoot>
                          <bdo id='TkdAx'></bdo><ul id='TkdAx'></ul>
                          • 主站蜘蛛池模板: 精品成人佐山爱一区二区 | 欧美日韩精品 | 中文字幕亚洲精品 | 91色在线| 国产成人在线播放 | 国产在线一级片 | 日韩亚洲一区二区 | 精品久久久久久久久久久久久久 | 日韩欧美视频在线 | 中文字幕国产视频 | 国产精品欧美一区二区三区不卡 | 国产精品亚洲综合 | а天堂中文最新一区二区三区 | 性欧美精品一区二区三区在线播放 | 九九热在线观看 | 国产黄色在线 | 亚洲精品欧美 | 亚洲综合区 | 播放一级黄色片 | 91在线一区二区三区 | 夜夜爽99久久国产综合精品女不卡 | a在线视频 | 久久久成人一区二区免费影院 | 精品国产一区二区三区av片 | 男人阁久久 | 激情婷婷 | 日韩精品在线免费观看视频 | 91视频日本 | 亚洲免费在线 | 97在线播放| 天天干天天爽 | 亚洲另类春色偷拍在线观看 | 亚洲精品99| www.久久精品 | 色综合色综合网色综合 | 亚洲精品欧美一区二区三区 | 99成人在线视频 | 一级做a毛片 | 国产一区二区黑人欧美xxxx | 亚洲免费观看视频 | 日韩一区二区三区视频在线播放 |