Selenium automation for QC