Skip to content

urimem/browser_use_use

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Browser Use Testing Automation

A Python-based automation tool for browser testing and web interaction using LangChain and OpenAI's GPT models.

Description

This project provides a framework for automated browser testing and web interaction using AI-powered agents. It leverages LangChain and OpenAI's GPT models to perform intelligent web testing and interaction tasks.

Features

  • Automated browser testing using AI agents
  • Integration with OpenAI's GPT models via LangChain
  • Environment variable management with python-dotenv
  • Asynchronous operation support

Prerequisites

  • Python 3.7+
  • OpenAI API key
  • pip (Python package manager)

Installation

  1. Clone the repository:
git clone <repository-url>
cd browser_use_use
  1. Create and activate a virtual environment:
python -m venv .venv
source .venv/bin/activate  # On Windows, use: .venv\Scripts\activate
  1. Install dependencies:
pip install -r requirements.txt
  1. Create a .env file in the project root and add your OpenAI API key:
OPENAI_API_KEY=your_api_key_here

Usage

  1. Modify the task variable in main.py to specify your testing requirements
  2. Run the script:
python main.py

The script will use an AI agent to perform the specified testing tasks on the target website.

See examples for Testing and QA tasks/prompts here: https://github.com/browser-use/awesome-prompts?tab=readme-ov-file#testing-and-qa-prompts

Dependencies

  • browser-use: Browser automation library
  • langchain_openai: OpenAI integration for LangChain
  • asyncio: Asynchronous I/O support
  • python-dotenv: Environment variable management

License

[Add your license information here]

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages