刘裕洪的Blog

  • 首页
  • 归档

  • 搜索
leetcode selenium docker 破解 mysql Spring Deepin 逆向 Android Smail 反编译 Linux ThinkPHP jQuery JavaScript html5 css python VMware Centos c# uwp 安朗 校园网 sofether 路由器 交叉编译

修改selenium docker 默认30分钟关闭会话

发表于 2020-07-03 | 分类于 docker | 0 | 阅读次数 148

进入容器的shell

docker ps得到selenium docker的容器id
然后docker exec -it 容器id bash

新增会话超时参数-timeout

修改/opt/bin/start-selenium-standalone.sh

#!/usr/bin/env bash
#
# IMPORTANT: Change this file only in directory StandaloneDebug!

java ${JAVA_OPTS} -jar /opt/selenium/selenium-server-standalone.jar \
    ${SE_OPTS}

修改后

#!/usr/bin/env bash
#
# IMPORTANT: Change this file only in directory StandaloneDebug!

java ${JAVA_OPTS} -jar /opt/selenium/selenium-server-standalone.jar -timeout 86400 \
    ${SE_OPTS}
  • 本文作者: 刘裕洪
  • 本文链接: https://liuyuhong.ml/archives/selenium-docker-session-timeout
  • 版权声明: 本博客所有文章除特别声明外,均采用CC BY-NC-SA 3.0 许可协议。转载请注明出处!
# leetcode # selenium # docker # 破解 # mysql # Spring # Deepin # 逆向 # Android # Smail # 反编译 # Linux # ThinkPHP # jQuery # JavaScript # html5 # css # python # VMware # Centos # c# # uwp # 安朗 # 校园网 # sofether # 路由器 交叉编译
群晖nas 使用selenium docker
python监控学习强国分数
  • 文章目录
  • 站点概览
刘裕洪

刘裕洪

死宅一只 🎵爱听EDM 📷摄影萌新

28 日志
14 分类
26 标签
RSS
Github E-mail Twitter
Creative Commons
Links
  • Mystery0
  • 梧桐
© 2019 — 2021 刘裕洪
由 Halo 强力驱动
|
主题 - NexT.Mist v5.1.4