get mock js test using selenium driver to pass