I am trying to find an element within a site, it is a Div class but the usual method is not working
div class ="subTabText"> Once Off < /div >
I have tried
driver.find_element_by_xpath("//div[contains(@class, 'Once Off')]")
but it cannot find it
classto containOnce Offbut the class issubTabText.