Fix selenium user_profile folder ?
This commit is contained in:
@ -161,7 +161,7 @@ abstract class BrowserJob implements ShouldQueue
|
||||
'--disable-setuid-sandbox',
|
||||
'--whitelisted-ips=""',
|
||||
'--disable-dev-shm-usage',
|
||||
'--user-data-dir=/home/seluser/profile/nigga/', // seems that selenium doesn't like docker having a volume on the exact same folder ("session not created: probably user data directory is already in use")
|
||||
'--user-data-dir=/home/seluser/profile/nigga', // seems that selenium doesn't like docker having a volume on the exact same folder ("session not created: probably user data directory is already in use")
|
||||
])->all());
|
||||
|
||||
return RemoteWebDriver::create(
|
||||
|
@ -3,7 +3,7 @@
|
||||
FROM selenium/standalone-chrome:latest AS final
|
||||
|
||||
COPY ./chromedriver /bin/chromedriver
|
||||
#RUN mkdir -p /home/seluser/profile/
|
||||
RUN mkdir -p /home/seluser/profile/nigga
|
||||
|
||||
ENV TZ=Europe/Brussels
|
||||
# 30 minutes session timeout
|
||||
|
Reference in New Issue
Block a user