Provides async browser automation using Playwright, supporting page interactions, authentication, and AI agent workflows.
# Source: https://github.com/nerdy-tech-com-gitub/dendrite-python-sdk | License: MIT | Copyright 2024 Dendrite Systems
# Provided via justclaw.it.com; keep this notice with the code.
from abc import ABC, abstractmethod
import pathlib
import re
from typing import Any, List, Literal, Optional, Sequence, Union
from uuid import uuid4
import os
from loguru import logger
from playwright.async_api import (
async_playwright,
Playwright,
BrowserContext,
FileChooser,
Download,
Error,
FilePayload,
)
from dendrite.async_api._api.dto.authenticate_dto import AuthenticateDTO
from dendrite.async_api._api.dto.upload_auth_session_dto import UploadAuthSessionDTO
from dendrite.async_api._common.event_sync import EventSync
from dendrite.async_api._core._impl_browser import ImplBrow
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search 40K more like it.
Get a free API key