Skip to content

Commit

Permalink
add:npmrc installation guide
Browse files Browse the repository at this point in the history
  • Loading branch information
hammzj authored Jan 16, 2024
1 parent a2f7c6b commit faedae6
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit faedae6

Please sign in to comment.