Added method to get the first child from an Xpath or CSS query