Remove unused function GetBy in WebTest