There is a class on a game site that changes name depending on if you won or not.
By default the html is <div class="clearfix status">
When you win it's called <div class="clearfix status won">
When you lose it's called <div class="clearfix status lost">
I need to be able to have a scraper store the name in a variable so I can track each time I win and lose.
When it changes names however it can't find the variable. Is there any way to fix this?