use of xpath/css locators and addition of a function with the reverse
operation