-
Playwright is automation software for Chromium, Firefox, Webkit using the Node.js library having a single API in place.Pricing:
- Open Source
My first idea was to run an instance of Chrome and control it using Playwright. So I created a file browser.ts and wrote the following code to:.
#Development #Tool #Browser Testing 279 social mentions
-
ngrok enables secure introspectable tunnels to localhost webhook development tool and debugging tool.Pricing:
- Open Source
Create a tunnel to my local server using a tool like ngrok.
#Testing #Localhost Tools #Webhooks 399 social mentions
-
Let’s Encrypt is a free, automated, and open certificate authority brought to you by the Internet Security Research Group (ISRG).Pricing:
- Open Source
Create a local domain and generate SSL certificates for it using Let's Encrypt, and use it for my server.
#Identity And Access Management #Security & Privacy #Two Factor Authentication 338 social mentions
-
Google Search, also referred to as Google Web Search or simply Google, is a web search engine developed by Google. It is the most used search engine on the World Wide Web
Import { env } from "bun"; Import { setTimeout } from "timers/promises"; Import { chromium, devices } from "playwright"; Const browser = await chromium.launch({ headless: false }); Const context = await browser.newContext(devices["Desktop Chrome"]); Const page = await context.newPage(); Await page.goto("https://google.com/"); Await page.click('[aria-label="Connexion"]'); Await page.fill('[name="identifier"]', env.GOOGLE_EMAIL!); Await page.click("#identifierNext"); Await page.fill('[name="Passwd"]', env.GOOGLE_PASSWORD!); Await page.click("#passwordNext"); Await setTimeout(3000); Await page.goto("https://aistudio.google.com/prompts/new_chat"); Await page.click('button[aria-label="close"]'); Await page.click('textarea[aria-label="Type something"]'); Await page.fill('textarea[aria-label="Type something"]', "Hello there!"); Await page.click("run-button");.
#Search Engine #Internet Search #Web Search 3734 social mentions
-
Bun is an all-in-one JavaScript runtime & toolkit designed for speed, complete with a bundler, test runner, and Node.js-compatible package manager.Pricing:
- Open Source
The first line is called a shebang. It tells the system which interpreter to use to run the script. In this case, I am using Bun. I also need to make the file executable for that to work; on Linux/Mac, you can do that with the following command:.
#JavaScript Runtime #JavaScript #JavaScript Tools 200 social mentions