Is Docker Suitable for Front End Test Environment?

  docker, question

I need to observe the status of web pages under n versions of browsers. The idea is to create multiple containers to install these browsers, but the question is whether there is any way to manage them dynamically. For example, I need to test 20 different versions of browsers. Is there any way to let the containers automatically open the browser to access the URL, and then save screenshots to a place for me?

Or there are other technical solutions, please great god advice?