Added new feature to grab screenshot given an elemenent id