Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions hooks/examples/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ async function searchTextOnGoogle() {
name: "test session", // name of the test
build: platform + browserName + version, // name of the build
"LT:Options": {
"smartUI.project": "smartuigithub",
"smartUI.project": "smartuigithub-integration",
// will generate random smartUI build if not specified
// "smartUI.build": "first",
"smartUI.options": {
Expand Down Expand Up @@ -103,7 +103,7 @@ async function startTest(gridUrl, capabilities, name) {

// For Smartui TakeScreenshot
setTimeout(function () {
console.log("taking screenshot ...")
console.log("taking screenshot ....")
let config = {
screenshotName: "web-page"
};
Expand Down
2 changes: 1 addition & 1 deletion sdk/sdkCloud.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const { smartuiSnapshot } = require('@lambdatest/selenium-driver');
// username: Username can be found at automation dashboard
const USERNAME = process.env.LT_USERNAME || "<USERNAME>";

// AccessKey: AccessKey can be generated from automation dashboard or profile section
// AccessKey: AccessKey can be generated from automation dashboard or profile section ss
const KEY = process.env.LT_ACCESS_KEY || "<ACCESS_KEY>";
let capabilities = {
platform: "catalina",
Expand Down
2 changes: 1 addition & 1 deletion sdk/sdkLocal.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const { smartuiSnapshot } = require('@lambdatest/selenium-driver');

(async function example() {
let driver = await new Builder().forBrowser("chrome").build();

// test
try {
await driver.get("https://www.lambdatest.com");
await smartuiSnapshot(driver, "Lambdatest");
Expand Down