I am building a selenium Bot to automatically play the game cookie clicker
And I am trying to access the buildings list since the buildings in this game get unlocked as I play and I want to make the computer is aware of the state of the buildings so that when it is about to buy a building it should start checking even the newly unlocked buildings and the way the game updates the buildings is by changing the class names from "product locked disabled" to "product unlocked disabled",
so I want to count how many classes have the unlocked name in them but the problem is the inner HTML of the div's are empty so when I use the find_elements_by_class_name()
it returns an empty list, so is the way I can count the div's with a specific class name