Added --test-type flag to chromeOptions to prevent certificate warning error.