Automate speech input recording in Chrome
问题 I'm trying to automate the recording of speech in Google's speech input (only works in Chrome). As it is, the user has to click the mic to start the recording but I'm working on an installation where the user won't interact with the computer. Thus I have to trigger the recording some other way. As far as it seems you can't access the speech input functionality by code, i.e. you can't call a function to start recording. So now I'm looking at simulating mouse click on the mic. I've tried using