added select_text method to Element