How to click on the object in selenium c#?

There are two span of the object. I click on the last one?
< span aria-checked = "true" class="_8r0M_" role=" switch " tabindex="0">Text< /span >
< span aria-checked = "true" class="_8r0M_ DEMIF" role=" switch " tabindex="0">Text< /span >

Where a class has a DEMIF this means that the object is selected.
Tried doesn't work
IWebElement sub = Browser.FindElement(By.ClassName("_8r0M_ "));
sub.Click();
Help!!!
April 7th 20 at 15:41
0 answer

Find more questions by tags C#Selenium