Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
@hyperbrowser/sdk
Advanced tools
A TypeScript/JavaScript SDK for interacting with the Hyperbrowser API.
Hyperbrowser can be installed via npm by running:
npm install @hyperbrowser/sdk
import { connect } from "puppeteer-core";
import { Hyperbrowser } from "@hyperbrowser/sdk";
import dotenv from "dotenv";
dotenv.config();
const client = new Hyperbrowser({
apiKey: process.env.HYPERBROWSER_API_KEY,
});
(async () => {
const session = await client.sessions.create();
const browser = await connect({
browserWSEndpoint: session.wsEndpoint,
defaultViewport: null,
});
// Create a new page
const [page] = await browser.pages();
// Navigate to a website
console.log("Navigating to Hacker News...");
await page.goto("https://news.ycombinator.com/");
const pageTitle = await page.title();
console.log("Page title:", pageTitle);
await page.close();
await browser.close();
console.log("Session completed!");
await client.sessions.stop(session.id);
})().catch((error) => console.error(error.message));
FAQs
Node SDK for Hyperbrowser API
The npm package @hyperbrowser/sdk receives a total of 134 weekly downloads. As such, @hyperbrowser/sdk popularity was classified as not popular.
We found that @hyperbrowser/sdk demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.