---
title: "Discussion on \"Cypress .get() vs .contains()\" | Hashnode"
description: "Discussion on \"Cypress .get() vs .contains()\". Cypress is a Javascript-based FE testing tool that is very popular today. I have been using it for end-to-end tests recently at work. In Cypress, one accesses elements on the DOM and verifies that they are behaving properly (sounds like I am talking ..."
url: "https://hashnode.com/posts/cypress-get-vs-contains/630023328bec3d0c4588d821"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Cypress .get() vs .contains()](https://cbain.hashnode.dev/cypress-get-vs-contains?utm_source=hashnode&utm_medium=feed)

Cypress is a Javascript-based FE testing tool that is very popular today. I have been using it for end-to-end tests recently at work. In Cypress, one accesses elements on the DOM and verifies that they are behaving properly (sounds like I am talking ...

Aug 19, 2022 · 2 min read · cbain.hashnode.dev  
Read the article

-   [#cypress](https://hashnode.com/tag/cypress)
-   [#testing](https://hashnode.com/tag/testing)

## Written by

[Christian Bain](https://hashnode.com/@CBain)

@CBain · Salt Lake, UT

  
[View profile](https://hashnode.com/@CBain)

Software Engineer || ex-collegiate athlete

I am a developer from Salt Lake, Utah. I love being outdoors, playing soccer, rock climbing, and traveling to new places with my wife. I played collegiate soccer at BYU for 5 years, spending 2 years as captain.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
