Automatically start and connect google video call in Chrome browser from ubuntu terminal

I have been looking for all this, and I feel that it should be very simple.

I am creating a computer for a conference room, and I want to automate the start and join a google hangout in google chrome from a script that I run in the terminal. It is very specific for starting and connecting to the terminal, because I would like to make other scripts around starting, stopping, timing, etc.

google-chrome --start-fullscreen --app=https://hangouts.google.com/hangouts/_/company_name/room_name 

This will open the new google-chrome web browser and take me to the goal line, however I need to click the "Join" button to enter it. I was wondering, how can I do something similar to what I have, but automatically "Join" the video call?

+5
source share
1 answer

I tried the same thing, but on OSX. I found that if you press the return key twice, it will join. I could not execute javascript to click on the button, so I resorted to this.

I would think that the answer would be a script that does this first part that you mentioned by adding 2 keystrokes to the active window, which should be Google Chrome.

0
source

Source: https://habr.com/ru/post/1240207/


All Articles