Script to send a tweet with Playwright
Use the package manager NPM
npm install
Create an .env file with your twitter username and password or simply replace them in tweet.js
USER = TWITTER_USERNAME
PASSWORD = TWITTER_PASSWORD
Run
node tweet.js 'your message here'