# PlaywrightEvaluator

> **Class** in `langchain_community`

📖 [View in docs](https://reference.langchain.com/python/langchain-community/document_loaders/url_playwright/PlaywrightEvaluator)

Abstract base class for all evaluators.

Each evaluator should take a page, a browser instance, and a response
object, process the page as necessary, and return the resulting text.

## Signature

```python
PlaywrightEvaluator()
```

## Extends

- `ABC`

## Methods

- [`evaluate()`](https://reference.langchain.com/python/langchain-community/document_loaders/url_playwright/PlaywrightEvaluator/evaluate)
- [`evaluate_async()`](https://reference.langchain.com/python/langchain-community/document_loaders/url_playwright/PlaywrightEvaluator/evaluate_async)

---

[View source on GitHub](https://github.com/langchain-ai/langchain-community/blob/4b280287bd55b99b44db2dd849f02d66c89534d5/libs/community/langchain_community/document_loaders/url_playwright.py#L22)