Hi guys,
I m trying to run python selenium tests in a docker container and I m keep getting this error
: Message: session not created: probably user data directory is already in use, please specify a unique value for --user-data-dir argument, or don't use --user-data-dir. I tried adding different options from Chrome in the conftest file but it doen't help.
I m on Windows 11, I m using selenium 4.29.0 version
YOu can clone my repo here:
Then navigate to root folder: ssqatest and then
1.build the image with this command
docker build -t myseleniumtests .
2.run container with this command:
docker run myseleniumtests
This way you will reproduce the error..
I have just started learning Docker -> so this seems hard to solve for me
I would really appreciate if someone could help..
Kind regards,
Vlada