Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running chrome in headed mode - help needed #631

Open
papppeter opened this issue Jun 5, 2024 · 0 comments
Open

Running chrome in headed mode - help needed #631

papppeter opened this issue Jun 5, 2024 · 0 comments

Comments

@papppeter
Copy link

Hi,

i have fully working setup, the only part is missing to start panther in --no-headless mode.

symfony app is inside a docker container, my dev environment is in windows wsl2. i can start chrome from my terminal, which opens up a chrome browser. I cannot start chrome inside my container. I can start playwright with ui from a docker container as well. it looks like my dev env is correct.

i am not totally sure my issue, or question is related to panther, so if you think so, just close it down please.

there are already similar issues like:
#505

Could somebody write up, or give an example how to run it?

I did setup DISPLAY env variable to: :0 with and without host.docker.internal
I did attached volume /tmp/.X11-unix:/tmp/.X11-unix
I did run xhost +local:docker
I have 1000:1000 uid:gid in my docker container, and wsl2

I asume chrome still cannot reach display:0 from container
I did not tried vnc solution
I did made work selenium client but did not liked it

So any help would be greate how to run chrome from inside a container, which can connect to desplay on my wsl2.

thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant