Yes, generally screesnhot capture of web pages is legal in most places around the world.
For more see our in-depth web scraping laws article.