Create new conversation in Google groups using playwright (with Firefox as a headless browser).
(Have in mind that this will work only if you don't have two-factor authentication for your gmail account)
Copy example.config.json
to config.json
and fill the placeholders.
- Run
yarn
- Run
yarn playwright install
- Run
yarn dev
and open http://localhost:8080/ - You'll probably need to update
/server/public/index.html
with your pre-filled subject and text.
The project is prepared for deploying in GCP's cloud run.
- Copy
example.cloudbuild.yaml
tocloudbuild.yaml
and replace the placeholders. - Run
yarn deploy
(Of course you should havegcloud
CLI already working)
P.S. You may need to make your Google account a manager of the group. This has nothing to do with the automation here. It's just a weird (maybe) bug and every new post falls into the "pending conversations" folder of the group.