pip install lightpanda gives you a headless browser and its Python bindings in one command, browser included. Scrape JavaScript-rendered pages and hand the data straight to pandas.