diff --git a/tools/wptrunner/wptrunner/browsers/chrome.py b/tools/wptrunner/wptrunner/browsers/chrome.py index b8c0a73e265881..1d8a6c939e5ef2 100644 --- a/tools/wptrunner/wptrunner/browsers/chrome.py +++ b/tools/wptrunner/wptrunner/browsers/chrome.py @@ -132,6 +132,13 @@ def executor_kwargs(logger, test_type, test_environment, run_info_data, subsuite chrome_options["args"].append("--disable-infobars") # For WebNN tests. chrome_options["args"].append("--enable-features=WebMachineLearningNeuralNetwork") + # For Web Speech API tests. + chrome_options["args"].append("--enable-features=" + ",".join([ + "InstallOnDeviceSpeechRecognition", + "OnDeviceWebSpeechAvailable", + "OnDeviceWebSpeech", + "MediaStreamTrackWebSpeech", + ])) # Classify `http-private`, `http-public` and https variants in the # appropriate IP address spaces.