jlesage / docker-firefox

Docker container for Firefox
MIT License
1.57k stars 280 forks source link

[Bug] about geckodriver cant run #250

Open jcleng opened 1 month ago

jcleng commented 1 month ago

Current Behavior

use geckodriver api cant open new window, Your Firefox profile cannot be loaded. it may be missing or inaccessible.

Expected Behavior

open new firefox window

Steps To Reproduce

geckodriver --port 2828 --host 0.0.0.0 --allow-hosts server

# and get sessionid
curl -X POST {{url}}/session -H "Content-Type: application/json" -d '{
  "capabilities": {
    "alwaysMatch": {
    }
  }
}'

Environment

Container creation

docker run -d \
    --name=firefox \
    -p 5800:5800 \
    -p 5900:5900 \
    -p 2828:2828 \
    -e ENABLE_CJK_FONT=1 \
    -v /home/firefox/config:/config:rw \
    jlesage/firefox

Container log

-

Container inspect

No response

Anything else?

No response

jcleng commented 1 month ago

1723795827589