Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.1.0"
".": "0.1.1"
}
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 22
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/browser-use%2Fbrowser-use-86040fd18419e7b4e0947660d9c0ff1abe21550528d2d2a549736cd16f85a92d.yml
openapi_spec_hash: 7c5de9d0f633db35fd9e250fcc834d1f
config_hash: 9ae623b132cbaa42505f45bb1db418ea
config_hash: 99e0e445bc20c5723030c315bab52940
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 0.1.1 (2025-08-14)

Full Changelog: [v0.1.0...v0.1.1](https://github.com/browser-use/browser-use-node/compare/v0.1.0...v0.1.1)

### Chores

* **internal:** codegen related update ([cf1f8c5](https://github.com/browser-use/browser-use-node/commit/cf1f8c5e6f2ba3b1b4795ad0e5fd1e1eaba2c187))

## 0.1.0 (2025-08-09)

Full Changelog: [v0.0.1...v0.1.0](https://github.com/browser-use/browser-use-node/compare/v0.0.1...v0.1.0)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "browser-use-sdk",
"version": "0.1.0",
"version": "0.1.1",
"description": "The official TypeScript library for the Browser Use API",
"author": "Browser Use <[email protected]>",
"types": "dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion src/version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const VERSION = '0.1.0'; // x-release-please-version
export const VERSION = '0.1.1'; // x-release-please-version
14 changes: 7 additions & 7 deletions tests/api-resources/agent-profiles.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const client = new BrowserUse({
});

describe('resource agentProfiles', () => {
// skipped: tests are disabled for the time being
// Prism tests are disabled
test.skip('create: only required params', async () => {
const responsePromise = client.agentProfiles.create({ name: 'x' });
const rawResponse = await responsePromise.asResponse();
Expand All @@ -20,7 +20,7 @@ describe('resource agentProfiles', () => {
expect(dataAndResponse.response).toBe(rawResponse);
});

// skipped: tests are disabled for the time being
// Prism tests are disabled
test.skip('create: required and optional params', async () => {
const response = await client.agentProfiles.create({
name: 'x',
Expand All @@ -35,7 +35,7 @@ describe('resource agentProfiles', () => {
});
});

// skipped: tests are disabled for the time being
// Prism tests are disabled
test.skip('retrieve', async () => {
const responsePromise = client.agentProfiles.retrieve('182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e');
const rawResponse = await responsePromise.asResponse();
Expand All @@ -47,7 +47,7 @@ describe('resource agentProfiles', () => {
expect(dataAndResponse.response).toBe(rawResponse);
});

// skipped: tests are disabled for the time being
// Prism tests are disabled
test.skip('update', async () => {
const responsePromise = client.agentProfiles.update('182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e', {});
const rawResponse = await responsePromise.asResponse();
Expand All @@ -59,7 +59,7 @@ describe('resource agentProfiles', () => {
expect(dataAndResponse.response).toBe(rawResponse);
});

// skipped: tests are disabled for the time being
// Prism tests are disabled
test.skip('list', async () => {
const responsePromise = client.agentProfiles.list();
const rawResponse = await responsePromise.asResponse();
Expand All @@ -71,15 +71,15 @@ describe('resource agentProfiles', () => {
expect(dataAndResponse.response).toBe(rawResponse);
});

// skipped: tests are disabled for the time being
// Prism tests are disabled
test.skip('list: request options and params are passed correctly', async () => {
// ensure the request options are being passed correctly by passing an invalid HTTP method in order to cause an error
await expect(
client.agentProfiles.list({ pageNumber: 1, pageSize: 1 }, { path: '/_stainless_unknown_path' }),
).rejects.toThrow(BrowserUse.NotFoundError);
});

// skipped: tests are disabled for the time being
// Prism tests are disabled
test.skip('delete', async () => {
const responsePromise = client.agentProfiles.delete('182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e');
const rawResponse = await responsePromise.asResponse();
Expand Down
14 changes: 7 additions & 7 deletions tests/api-resources/browser-profiles.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const client = new BrowserUse({
});

describe('resource browserProfiles', () => {
// skipped: tests are disabled for the time being
// Prism tests are disabled
test.skip('create: only required params', async () => {
const responsePromise = client.browserProfiles.create({ name: 'x' });
const rawResponse = await responsePromise.asResponse();
Expand All @@ -20,7 +20,7 @@ describe('resource browserProfiles', () => {
expect(dataAndResponse.response).toBe(rawResponse);
});

// skipped: tests are disabled for the time being
// Prism tests are disabled
test.skip('create: required and optional params', async () => {
const response = await client.browserProfiles.create({
name: 'x',
Expand All @@ -36,7 +36,7 @@ describe('resource browserProfiles', () => {
});
});

// skipped: tests are disabled for the time being
// Prism tests are disabled
test.skip('retrieve', async () => {
const responsePromise = client.browserProfiles.retrieve('182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e');
const rawResponse = await responsePromise.asResponse();
Expand All @@ -48,7 +48,7 @@ describe('resource browserProfiles', () => {
expect(dataAndResponse.response).toBe(rawResponse);
});

// skipped: tests are disabled for the time being
// Prism tests are disabled
test.skip('update', async () => {
const responsePromise = client.browserProfiles.update('182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e', {});
const rawResponse = await responsePromise.asResponse();
Expand All @@ -60,7 +60,7 @@ describe('resource browserProfiles', () => {
expect(dataAndResponse.response).toBe(rawResponse);
});

// skipped: tests are disabled for the time being
// Prism tests are disabled
test.skip('list', async () => {
const responsePromise = client.browserProfiles.list();
const rawResponse = await responsePromise.asResponse();
Expand All @@ -72,15 +72,15 @@ describe('resource browserProfiles', () => {
expect(dataAndResponse.response).toBe(rawResponse);
});

// skipped: tests are disabled for the time being
// Prism tests are disabled
test.skip('list: request options and params are passed correctly', async () => {
// ensure the request options are being passed correctly by passing an invalid HTTP method in order to cause an error
await expect(
client.browserProfiles.list({ pageNumber: 1, pageSize: 1 }, { path: '/_stainless_unknown_path' }),
).rejects.toThrow(BrowserUse.NotFoundError);
});

// skipped: tests are disabled for the time being
// Prism tests are disabled
test.skip('delete', async () => {
const responsePromise = client.browserProfiles.delete('182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e');
const rawResponse = await responsePromise.asResponse();
Expand Down
6 changes: 3 additions & 3 deletions tests/api-resources/sessions/public-share.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const client = new BrowserUse({
});

describe('resource publicShare', () => {
// skipped: tests are disabled for the time being
// Prism tests are disabled
test.skip('create', async () => {
const responsePromise = client.sessions.publicShare.create('182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e');
const rawResponse = await responsePromise.asResponse();
Expand All @@ -20,7 +20,7 @@ describe('resource publicShare', () => {
expect(dataAndResponse.response).toBe(rawResponse);
});

// skipped: tests are disabled for the time being
// Prism tests are disabled
test.skip('retrieve', async () => {
const responsePromise = client.sessions.publicShare.retrieve('182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e');
const rawResponse = await responsePromise.asResponse();
Expand All @@ -32,7 +32,7 @@ describe('resource publicShare', () => {
expect(dataAndResponse.response).toBe(rawResponse);
});

// skipped: tests are disabled for the time being
// Prism tests are disabled
test.skip('delete', async () => {
const responsePromise = client.sessions.publicShare.delete('182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e');
const rawResponse = await responsePromise.asResponse();
Expand Down
12 changes: 6 additions & 6 deletions tests/api-resources/sessions/sessions.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const client = new BrowserUse({
});

describe('resource sessions', () => {
// skipped: tests are disabled for the time being
// Prism tests are disabled
test.skip('retrieve', async () => {
const responsePromise = client.sessions.retrieve('182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e');
const rawResponse = await responsePromise.asResponse();
Expand All @@ -20,7 +20,7 @@ describe('resource sessions', () => {
expect(dataAndResponse.response).toBe(rawResponse);
});

// skipped: tests are disabled for the time being
// Prism tests are disabled
test.skip('retrieve: request options and params are passed correctly', async () => {
// ensure the request options are being passed correctly by passing an invalid HTTP method in order to cause an error
await expect(
Expand All @@ -32,7 +32,7 @@ describe('resource sessions', () => {
).rejects.toThrow(BrowserUse.NotFoundError);
});

// skipped: tests are disabled for the time being
// Prism tests are disabled
test.skip('update: only required params', async () => {
const responsePromise = client.sessions.update('182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e', {
action: 'stop',
Expand All @@ -46,12 +46,12 @@ describe('resource sessions', () => {
expect(dataAndResponse.response).toBe(rawResponse);
});

// skipped: tests are disabled for the time being
// Prism tests are disabled
test.skip('update: required and optional params', async () => {
const response = await client.sessions.update('182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e', { action: 'stop' });
});

// skipped: tests are disabled for the time being
// Prism tests are disabled
test.skip('list', async () => {
const responsePromise = client.sessions.list();
const rawResponse = await responsePromise.asResponse();
Expand All @@ -63,7 +63,7 @@ describe('resource sessions', () => {
expect(dataAndResponse.response).toBe(rawResponse);
});

// skipped: tests are disabled for the time being
// Prism tests are disabled
test.skip('list: request options and params are passed correctly', async () => {
// ensure the request options are being passed correctly by passing an invalid HTTP method in order to cause an error
await expect(
Expand Down
22 changes: 11 additions & 11 deletions tests/api-resources/tasks.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const client = new BrowserUse({
});

describe('resource tasks', () => {
// skipped: tests are disabled for the time being
// Prism tests are disabled
test.skip('create: only required params', async () => {
const responsePromise = client.tasks.create({ task: 'x' });
const rawResponse = await responsePromise.asResponse();
Expand All @@ -20,7 +20,7 @@ describe('resource tasks', () => {
expect(dataAndResponse.response).toBe(rawResponse);
});

// skipped: tests are disabled for the time being
// Prism tests are disabled
test.skip('create: required and optional params', async () => {
const response = await client.tasks.create({
task: 'x',
Expand All @@ -37,7 +37,7 @@ describe('resource tasks', () => {
});
});

// skipped: tests are disabled for the time being
// Prism tests are disabled
test.skip('retrieve', async () => {
const responsePromise = client.tasks.retrieve('182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e');
const rawResponse = await responsePromise.asResponse();
Expand All @@ -49,7 +49,7 @@ describe('resource tasks', () => {
expect(dataAndResponse.response).toBe(rawResponse);
});

// skipped: tests are disabled for the time being
// Prism tests are disabled
test.skip('retrieve: request options and params are passed correctly', async () => {
// ensure the request options are being passed correctly by passing an invalid HTTP method in order to cause an error
await expect(
Expand All @@ -61,7 +61,7 @@ describe('resource tasks', () => {
).rejects.toThrow(BrowserUse.NotFoundError);
});

// skipped: tests are disabled for the time being
// Prism tests are disabled
test.skip('update: only required params', async () => {
const responsePromise = client.tasks.update('182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e', { action: 'stop' });
const rawResponse = await responsePromise.asResponse();
Expand All @@ -73,12 +73,12 @@ describe('resource tasks', () => {
expect(dataAndResponse.response).toBe(rawResponse);
});

// skipped: tests are disabled for the time being
// Prism tests are disabled
test.skip('update: required and optional params', async () => {
const response = await client.tasks.update('182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e', { action: 'stop' });
});

// skipped: tests are disabled for the time being
// Prism tests are disabled
test.skip('list', async () => {
const responsePromise = client.tasks.list();
const rawResponse = await responsePromise.asResponse();
Expand All @@ -90,7 +90,7 @@ describe('resource tasks', () => {
expect(dataAndResponse.response).toBe(rawResponse);
});

// skipped: tests are disabled for the time being
// Prism tests are disabled
test.skip('list: request options and params are passed correctly', async () => {
// ensure the request options are being passed correctly by passing an invalid HTTP method in order to cause an error
await expect(
Expand All @@ -107,7 +107,7 @@ describe('resource tasks', () => {
).rejects.toThrow(BrowserUse.NotFoundError);
});

// skipped: tests are disabled for the time being
// Prism tests are disabled
test.skip('retrieveLogs', async () => {
const responsePromise = client.tasks.retrieveLogs('182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e');
const rawResponse = await responsePromise.asResponse();
Expand All @@ -119,7 +119,7 @@ describe('resource tasks', () => {
expect(dataAndResponse.response).toBe(rawResponse);
});

// skipped: tests are disabled for the time being
// Prism tests are disabled
test.skip('retrieveOutputFile: only required params', async () => {
const responsePromise = client.tasks.retrieveOutputFile('file_name', {
task_id: '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
Expand All @@ -133,7 +133,7 @@ describe('resource tasks', () => {
expect(dataAndResponse.response).toBe(rawResponse);
});

// skipped: tests are disabled for the time being
// Prism tests are disabled
test.skip('retrieveOutputFile: required and optional params', async () => {
const response = await client.tasks.retrieveOutputFile('file_name', {
task_id: '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
Expand Down