From faedae6d793820e00da4a093dc1d6e9b7c81ae3f Mon Sep 17 00:00:00 2001 From: Zachary Hamm Date: Tue, 16 Jan 2024 08:34:25 -0500 Subject: [PATCH] add:npmrc installation guide --- README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/README.md b/README.md index 0eb90f4..45a4ca9 100644 --- a/README.md +++ b/README.md @@ -49,6 +49,21 @@ examplePageObject.FooterObject(footerObject => { }); ``` +## Installation + +This package is hosted on the GitHub NPM package repository. Please add or update your `.npmrc` file with the following: + +``` +@hammzj:registry=https://npm.pkg.github.com +``` + +Then, install as normal: +``` +npm install @hammzj/cypress-page-object +#or +yarn add @hammzj/cypress-page-object +``` + ## The base class: `ElementCollection` An "element collection" is what the name implies: it is a collection of element selectors, class properties, utility