pyython selenium if class contains code example Example: selenium python class contains //body[contains(@class, 'is-mobile')]