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