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