How to create Custom Element Matcher