capture screen for a particular element