Front end testing framework driven by JavaScript