Making Python Script with Request, Selenium, BeautifulSoup and webdriver support available via UI

:jigsaw: New Feature: Use Python scripts with Requests, Selenium, BeautifulSoup & WebDriver via the UI
This extension adds the ability to run your own Python scripts directly from the user interface (UI) to Home Assistant. The scripts can use powerful libraries such as:

Requests – for simple HTTP requests,

Selenium – for browser-driven automation,

BeautifulSoup – for structured analysis and extraction of HTML content,

WebDriver (e.g., ChromeDriver or GeckoDriver) – for interacting with real websites in the background.

:wrench: Advantages:
No longer necessary to manually execute scripts – everything can be conveniently controlled via the UI.

Results can be displayed in real time in the frontend or passed to automations.

Enables complex data extraction from websites or automated web actions directly from Home Assistant.

Flexible integration of external data sources (e.g., weather data, energy providers, price queries, etc.).

:desktop_computer: UI Integration:
Integrated interface for selecting and executing scripts.

Parameter passing via forms is possible.

Outputs can be returned as notifications, sensors, or directly in the UI panel.

:gear: Requirements:
Python scripting module enabled in Home Assistant.

Installed dependencies (requests, selenium, bs4).

WebDriver (e.g., chromedriver) configured on the system.

Aren’t you basically asking for custom integrations?

If not, it would be good to detail what you want more…

1 Like