Fix the path bug and kill webdriver and its child process automatically.