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-alpha.4"
".": "0.1.0-alpha.5"
}
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
configured_endpoints: 18
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/browserbase%2Fbrowserbase-b37d85811d1ccbd73a7884f22792503aa7e3103d378c97c84028b8b3b79acddc.yml
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/browserbase%2Fbrowserbase-60444f8b1aa1aa8dbec1e9f11e929c2b7ac27470764ef5f1796134fc27f3381c.yml
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# Changelog

## 0.1.0-alpha.5 (2024-10-28)

Full Changelog: [v0.1.0-alpha.4...v0.1.0-alpha.5](https://github.com/browserbase/sdk-python/compare/v0.1.0-alpha.4...v0.1.0-alpha.5)

### Features

* **api:** update via SDK Studio ([#27](https://github.com/browserbase/sdk-python/issues/27)) ([3050f62](https://github.com/browserbase/sdk-python/commit/3050f628fde93180fe9f5bd6c6d6eac511a2624c))
* **api:** update via SDK Studio ([#28](https://github.com/browserbase/sdk-python/issues/28)) ([b5f5482](https://github.com/browserbase/sdk-python/commit/b5f5482f57e27d38af4ac550845d5484f870bf39))
* **api:** update via SDK Studio ([#29](https://github.com/browserbase/sdk-python/issues/29)) ([fc40b62](https://github.com/browserbase/sdk-python/commit/fc40b62e7dbe6af78e429cb1d4cc090f3cf75286))
* various codegen changes ([ebb2283](https://github.com/browserbase/sdk-python/commit/ebb2283beb1651cf679774e4cfe45e652118f0e8))

## 0.1.0-alpha.4 (2024-10-27)

Full Changelog: [v0.1.0-alpha.3...v0.1.0-alpha.4](https://github.com/browserbase/sdk-python/compare/v0.1.0-alpha.3...v0.1.0-alpha.4)
Expand Down
2 changes: 0 additions & 2 deletions examples/e2e/test_playwright.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
import pytest
from dotenv import load_dotenv
from playwright.sync_api import Playwright, sync_playwright

from browserbase import Browserbase

from .. import (
Expand All @@ -28,7 +27,6 @@ def playwright() -> Generator[Playwright, None, None]:
with sync_playwright() as p:
yield p


def test_playwright_basic(playwright: Playwright) -> None:
playwright_basic.run(playwright)

Expand Down
1 change: 1 addition & 0 deletions examples/playwright_captcha.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from playwright.sync_api import Playwright, ConsoleMessage, sync_playwright


from examples import (
BROWSERBASE_API_KEY,
BROWSERBASE_PROJECT_ID,
Expand Down
2 changes: 2 additions & 0 deletions examples/playwright_contexts.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

from playwright.sync_api import Cookie, Browser, Playwright, sync_playwright


from examples import (
BROWSERBASE_API_KEY,
BROWSERBASE_PROJECT_ID,
Expand All @@ -14,6 +15,7 @@
BrowserSettingsContext,
)


CONTEXT_TEST_URL = "https://www.browserbase.com"
SECOND = 1000

Expand Down
1 change: 1 addition & 0 deletions examples/playwright_downloads.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

from playwright.sync_api import Playwright, sync_playwright


from examples import (
BROWSERBASE_API_KEY,
BROWSERBASE_PROJECT_ID,
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "browserbase"
version = "0.1.0-alpha.4"
version = "0.1.0-alpha.5"
description = "The official Python library for the browserbase API"
dynamic = ["readme"]
license = "Apache-2.0"
Expand Down
4 changes: 2 additions & 2 deletions src/browserbase/_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def __init__(
if base_url is None:
base_url = os.environ.get("BROWSERBASE_BASE_URL")
if base_url is None:
base_url = f"https://www.browserbase.com"
base_url = f"https://api.dev.browserbase.com"

super().__init__(
version=__version__,
Expand Down Expand Up @@ -268,7 +268,7 @@ def __init__(
if base_url is None:
base_url = os.environ.get("BROWSERBASE_BASE_URL")
if base_url is None:
base_url = f"https://www.browserbase.com"
base_url = f"https://api.dev.browserbase.com"

super().__init__(
version=__version__,
Expand Down
2 changes: 1 addition & 1 deletion src/browserbase/_version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

__title__ = "browserbase"
__version__ = "0.1.0-alpha.4" # x-release-please-version
__version__ = "0.1.0-alpha.5" # x-release-please-version
Loading