I'm trying to get the value of the vending price of AMZN index market directly from the trading platform plus500, the value changes continuosly so I have to use selenium. The code I'm using is this one:
driver.get("https://app.plus500.com/trade/amazon")
# get AMZN vending price
Sell = driver.find_elements(By.CLASS_NAME, value="sell")
print(Sell)
The html from the source is this:
<div class="sell" data-no-trading="false" id="_win_plus500_bind873" data-show="true">126.28</div>
I need to scrape the value (in this case 126,28) every time it changes. If it is needed I created a dummy Plus500 account for you: username "myrandomcode@gmail.com" password: "MyRandomCode87".