Required Behavior: Relevant setting on the schema file: At least one Person element: Set the minOccurs value of the Person element to 1: Make Name, Country and IsAdmin attributes mandatory: Add use=”required” to each of these attributes declaration: Allow only true/false values for IsAdmin: Set type=”xs:boolean” for the IsAdmin declaration: Allow only … We can get the css class name of an element with Selenium webdriver. Use the removeAttribute() to remove an attribute from a specified element. This method is demonstrated below: Get DOM Standard Optional. hasClass( class ): This method is used to find a specified class is present on the any of the matched elements. tag¶ Using the jQuery data() method to find the data-text, data-id or any attribute of an HTML element. For an