When I go to a certain webpage I am trying to find a certain element and piece of text:
<span class="Bold Orange Large">0</span>
This didn't work: (It gave an error of compound class names...)
elem = browser.find_elements_by_class_name("Bold Orange Large")
So I tried this: (but I'm not sure it worked because I don't really understand the right way to do css selectors in selenium...)
elem = browser.find_elements_by_css_selector("span[class='Bold Orange Large']")
Once I find the span element, I want to find the number that is inside (the content).
num = elem.(what to put here??)
Any help with CSS selectors, class names, and finding element text would be great!
Thanks.
Oh! and my other problem is that there are multiple of those exact span elements but with different numbers inside. How can I deal with that?