xpath with class name in selenium code example Example: relative xpath sample //input[@id=’user-message‘]