Skip to content

Commit

Permalink
Playwright
Browse files Browse the repository at this point in the history
  • Loading branch information
lalalune committed Aug 1, 2023
1 parent e1f71f8 commit fb28a3e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# agentbrowser <a href="https://discord.gg/qetWd7J9De"><img style="float: right" src="https://dcbadge.vercel.app/api/server/qetWd7J9De" alt=""></a>

A browser for your agent, built on Chrome and Pyppeteer.
A browser for your agent, built on Playwright.

<img src="resources/image.jpg">

Expand Down Expand Up @@ -105,7 +105,7 @@ text = get_body_text(page)

## Get browser

This will give you a reference to the browser object, which you can use for advanced stuff. The browser object comes from Pyppeteer, so anything you can do with Pyppeteer, you can do with this.
This will give you a reference to the browser object, which you can use for advanced stuff. The browser object comes from Playwright, so anything you can do with Playwright, you can do with this.

```python
browser = get_browser()
Expand Down Expand Up @@ -226,7 +226,7 @@ text = await async_get_body_text(page)

## Get browser

This will give you a reference to the browser object, which you can use for advanced stuff. The browser object comes from Pyppeteer, so anything you can do with Pyppeteer, you can do with this.
This will give you a reference to the browser object, which you can use for advanced stuff. The browser object comes from Playwright, so anything you can do with Playwright, you can do with this.

```python
browser = await async_get_browser()
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
setup(
name="agentbrowser",
version="0.2.0",
description="A browser for your agent, built on Chrome and Pyppeteer.",
description="A browser for your agent, built on Playwright.",
long_description=long_description, # added this line
long_description_content_type="text/markdown", # and this line
url="https://github.com/lalalune/agentbrowser",
Expand Down

0 comments on commit fb28a3e

Please sign in to comment.