Open andyMrtnzP opened 1 year ago
On Ubuntu I was able to get things running by following the directions here: https://linuxhandbook.com/docker-permission-denied/ then... docker run -p 3000:3000 browserless/chrome
On my (Intel) Mac, Joel's suggestion worked for me: docker run --user root -p 3000:3000 browserless/chrome
Andy's directions worked for me on both platforms, once I ran the container with the respective strategies above.
I've gotten this running with Andy's instructions on my (ARM) Mac.
I did need Joel's suggestion, to run the docker image as --user root
.
I've also verified that brozzle_page
runs as expected without the -e browserless
command-line parameter.
Allows running Brozzler with browserless.
How to run
python3 -m venv venv
source venv/bin/activate
pip install -e .
brozzle-page
using-e browserless
:The most significant change in the PR was to generate the Chrome launch args dynamically with a method, instead of a variable, so the WS connection made to browserless at startup time to generate a new browser can include them.