salesforce-pageobjects v9.0.0
salesforce-pageobjects
Page objects provided by Salesforce to test Lightning Experience using the UI Test Automation Model (UTAM) framework.
This package is compatible with the Spring’25 Salesforce release.
This package is compatible with version 3.0.0
up to 3.2.2
of the wdio-utam-service
package. Mobile page objects are compatible with versions 3.0.0
up to 3.2.2
.
Install
Using npm:
npm install salesforce-pageobjects --save-dev
or using yarn:
yarn add salesforce-pageobjects --dev
Usage
To import a page object in a test, use the following syntax. This example imports the login page object.
ES Modules (ESM)
import Login from 'salesforce-pageobjects/helpers/pageObjects/login';
CommonJS (CJS)
const Login = require('salesforce-pageobjects/helpers/pageObjects/login');
For a complete example, see the utam-js-recipes repo.
For more information about UTAM, see utam.dev.
For any issues, see Salesforce Help.
6 months ago
10 months ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago