I\'m trying to write a method to which I can provide 2 paths then find a second element in the context of the first. The application uses Material design so there are a lot