Skip to content

Instantly share code, notes, and snippets.

@SarahElson
Created March 17, 2025 09:42
Show Gist options
  • Save SarahElson/4ca4829c5554e4299529972dcfafa8c9 to your computer and use it in GitHub Desktop.
Save SarahElson/4ca4829c5554e4299529972dcfafa8c9 to your computer and use it in GitHub Desktop.
How to Use Cypress scrollIntoView() Command
{
"name": "canvas-automation-cypress",
"version": "1.0.0",
"description": "ScrollIntoView Demo with Cypress",
"main": "index.js",
"scripts": {
"cypress:open": "cypress open",
"cypress:chrome": "cypress run --browser=chrome"
},
"keywords": [
"cypress",
"test",
"automation",
"web",
"automation",
"testing"
],
"author": "Himanshu Jagdish Sheth",
"license": "ISC",
"devDependencies": {
"cypress": "^13.3.3"
},
"dependencies": {
"dotenv": "^16.4.5"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment