seleniumbase / SeleniumBase

📊 Python's all-in-one framework for web crawling, scraping, testing, and reporting. Supports pytest. UC Mode provides stealth. Includes many tools.
https://seleniumbase.io
MIT License
5.16k stars 958 forks source link

Docker overhaul needed #2692

Closed mdmintz closed 5 months ago

mdmintz commented 5 months ago

Docker overhaul needed

The current Dockerfile no longer works on various environments. Needs an update.

The Docker ReadMe.md also needs an update.

(Note: Using SeleniumBase with Docker is optional.)

mdmintz commented 5 months ago

Excellent progress has been made:

> docker run seleniumbase ./run_docker_test_in_chrome.sh

***** SeleniumBase Docker Machine *****
Running example SeleniumBase test from Docker with headless Chrome...
============================= test session starts ==============================
platform linux -- Python 3.10.12, pytest-8.1.1, pluggy-1.4.0
rootdir: /SeleniumBase/examples
configfile: pytest.ini
plugins: seleniumbase-4.25.4, cov-5.0.0, html-2.0.1, metadata-3.1.1, xdist-3.5.0, ordering-0.6, rerunfailures-14.0
collected 1 item

my_first_test.py .

============================== 1 passed in 5.65s ===============================

Updates will be ready in the next release.

mdmintz commented 5 months ago

This was resolved in 4.25.4 - https://github.com/seleniumbase/SeleniumBase/releases/tag/v4.25.4 Updated Dockerfile: SeleniumBase/Dockerfile Updated ReadMe.md: Docker - ReadMe.md