<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/testing-a-website-with-selenium-and-docker-etdp5zgg6" -->

---
title: Testing a website with Selenium and Docker | daily.dev
description: Selenium is a popular browser automating tool that is primarily used for automating web applications for testing purposes. In this tutorial, you will learn why...
canonical: https://daily.dev/posts/testing-a-website-with-selenium-and-docker-etdp5zgg6
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Testing a website with Selenium and Docker | daily.dev
og:description: Selenium is a popular browser automating tool that is primarily used for automating web applications for testing purposes. In this tutorial, you will learn why...
og:url: https://daily.dev/posts/testing-a-website-with-selenium-and-docker-etdp5zgg6
og:image: https://api.daily.dev/og/posts/etDp5ZGG6.png
og:image:alt: Testing a website with Selenium and Docker
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Testing a website with Selenium and Docker

**[LogRocket](https://daily.dev/sources/logrocket)** · 15 min read · 16 upvotes · 1 comments

## Summary

Selenium is a popular browser automating tool that is primarily used for automating web applications for testing purposes. In this tutorial, you will learn why and how to use Selenium and Docker to test a website. Use the following Docker command to create a container with the image you have just pulled.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://blog.logrocket.com/testing-website-selenium-docker/>

## Community discussion

Top comments from developers on daily.dev.

**@germanov\_dev** · 1 upvotes

> Selenium is great thing, but I also would recommend to try Cypress for website frontend testing. Very cool! Read here: https://fathomtech.io/blog/end-to-end-testing-of-web-applications-with-cypress/

---

Tags: [#testing](https://daily.dev/tags/testing), [#docker](https://daily.dev/tags/docker), [#google-chrome](https://daily.dev/tags/google-chrome), [#firefox](https://daily.dev/tags/firefox), [#browsers](https://daily.dev/tags/browsers), [#selenium](https://daily.dev/tags/selenium), [#jest](https://daily.dev/tags/jest)

[View this post on daily.dev](https://daily.dev/posts/testing-a-website-with-selenium-and-docker-etdp5zgg6)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Testing a website with Selenium and Docker","url":"https://daily.dev/posts/testing-a-website-with-selenium-and-docker-etdp5zgg6","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/testing-a-website-with-selenium-and-docker-etdp5zgg6"},"datePublished":"2022-10-12T17:32:49.452Z","dateModified":"2022-10-12T17:32:49.452Z","description":"Selenium is a popular browser automating tool that is primarily used for automating web applications for testing purposes. In this tutorial, you will learn why...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/3802d67ea38a5da0a5243da064a47dd2","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/3802d67ea38a5da0a5243da064a47dd2","isAccessibleForFree":true,"articleSection":"LogRocket","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"LogRocket","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/logrocket","url":"https://daily.dev/sources/logrocket"},"commentCount":1,"discussionUrl":"https://daily.dev/posts/testing-a-website-with-selenium-and-docker-etdp5zgg6","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":16},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":1}],"keywords":"testing,docker,google-chrome,firefox,browsers,selenium,jest","timeRequired":"PT15M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"LogRocket","item":"https://daily.dev/sources/logrocket"},{"@type":"ListItem","position":3,"name":"Testing a website with Selenium and Docker"}]}
{"@context":"https://schema.org","@type":"WebPage","@id":"https://daily.dev/posts/testing-a-website-with-selenium-and-docker-etdp5zgg6","comment":[{"@type":"Comment","text":"Selenium is great thing, but I also would recommend to try Cypress for website frontend testing. Very cool! Read here: https://fathomtech.io/blog/end-to-end-testing-of-web-applications-with-cypress/","datePublished":"2022-10-29T10:49:00.282Z","dateModified":"2022-10-29T10:49:18.800Z","url":"https://daily.dev/posts/etDp5ZGG6#c-fw76CtU2W","author":{"@type":"Person","name":"Andrey Germanov","url":"https://daily.dev/germanov_dev","image":"https://avatars.githubusercontent.com/u/4194538?v=4"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1}}]}
```

