File size: 332 Bytes
ad4c1f0
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
from autogpt.commands.web_selenium import browse_website


def test_browse_website():
    url = "https://barrel-roll.com"
    question = "How to execute a barrel roll"

    response, _ = browse_website(url, question)
    assert "Error" in response
    # Sanity check that the response is not too long
    assert len(response) < 200