Improved performance of selectElementInHtmlPanel() by using
getElementsByClassName() instead of querySelector()