Replies: 3 comments
-
I think this is chromedriver bug and seeing how many issues are already open I'm affraid I can't reuse user data dir... |
Beta Was this translation helpful? Give feedback.
-
Hi! It seems like the problem comes from how Chrome uses the Why This Might Be Happening
How to Fix It
Alternatively,
|
Beta Was this translation helpful? Give feedback.
-
removing Singleton* files helped |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
Thanks @mdmintz for awsome work!
Wanted to ask you Guys about storing data_user_dir to save data usage through proxy using CDP mode. I'm using with statement like this:
and running this in docker container. Works fine, but I'd like to store user_data_dir so it wouldn't be recreated everytime I create container. So I thought about creating volume to save user_data_dir on host but it didn't work, selenium wasn't able to connect to chrome "cannot connect to chrome at 127.0.0.1:9222".
I didn't understand why it would have problem with this approach, I assumed maybe read/write was too slow so I ended up with coping user_data_dir from docker container before removing it but whenever docker container would provide any data in user_data_dir during container start I always get
"cannot connect to chrome at 127.0.0.1:9222". Container starts only when user_data_dir is empty.
Anyone knows why that happens?
Beta Was this translation helpful? Give feedback.
All reactions