HTML Code:
<td id="ContentPlaceHolder1_ContentPlaceHolder1_Product_eBay1_tdBINPrice">
<input id="ContentPlaceHolder1_ContentPlaceHolder1_Product_eBay1_txtBuyItNowPrice" name="ctl00$ctl00$ContentPlaceHolder1$ContentPlaceHolder1$Product_eBay1$txtBuyItNowPrice"
style="width:50px;" type="text" value="1435.97"/>
<img id="ContentPlaceHolder1_ContentPlaceHolder1_Product_eBay1_imgCustomPriceCalculator" src="/images/ChannelPriceCustom.png" style="width:16px;"/>
</td>
i would like to extra the text in 'Value' attribute ('1435.95')
i tried doing it by executing the following code, but no luck.
driver.get(someURL)
page = driver.page_source
soup = BeautifulSoup(page, 'lxml')
price = soup.find('td', {'id' : re.compile('ContentPlaceHolder1_ContentPlaceHolder1_Product_eBay1_tdBINPrice')})
print(price)
Thank you!