简体   繁体   中英

How to update web browser on selenium/node-chrome inside docker

I had to update my web browser inside docker file, because I get on my tests report that banner, and it's failed my automation tests. 在此处输入图片说明

I don't know how to update that. Should I do it through docker update container? Or should I delete selenium/node-chrome add push into docker new container?

Ok I found a solution:

  1. Go into folder with docker-compose.yml file (if you don't have - you should grab from enter link description here
  2. Synchronize with service image registry docker-compose pull
  3. Recreate container if docker-compose file or image have changed: docker-compose up -d

after those steps browser should be updated

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM