Python 单击输入按钮

Python 单击输入按钮,python,python-3.x,selenium,selenium-webdriver,Python,Python 3.x,Selenium,Selenium Webdriver,我需要让我的Selenium脚本单击网站上的输入按钮。由于某种原因,我尝试过的一切都没有奏效。这看起来很简单,但对我来说却很难 错误: backupbidbutton.click() TypeError: 'NoneType' object is not callable 按钮html代码: <input type="submit" value="Place Backup Bid" class="bid-button place-backupbid-button" rel="pl

我需要让我的Selenium脚本单击网站上的输入按钮。由于某种原因,我尝试过的一切都没有奏效。这看起来很简单,但对我来说却很难

错误:

    backupbidbutton.click()
TypeError: 'NoneType' object is not callable
按钮html代码:

<input type="submit" value="Place Backup Bid" class="bid-button place-backupbid-button" rel="placeBestBid" id="placeBackupBidButton">

我使用
beautifulsou

调用它,为什么不使用id,而不是soup,并尝试从页面源代码获取元素

代码:

input_button =  driver.find_element_by_id("placeBackupBidButton")
input_button.click()

确保此输入不应位于任何帧中

请添加完整的代码。异常跟踪是什么?
input_button =  driver.find_element_by_id("placeBackupBidButton")
input_button.click()