-
NodeJs-Cucumber-Selenium
Run test automation on cloud with Cucumber.js and LambdaTest. This is a sample repo to help you execute Cucumber.js framework based test scripts in parallel with LambdaTest automation testing cloud
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
const assert = require("assert"); describe("Open Web browser in the chrome", () => { it("Page should open", () => { browser.url("https://www.lambdatest.com/"); const title = browser.getTitle(); assert.strictEqual( title, "Cross Browser Testing Tools | Free Automated Website Testing | LambdaTest" ); }); }); describe("Perform Random click", () => { it("Random click on Header Menu should perform based on random index ", () => { const headerMenuLinks = $$(".//div[@id='navbarSupportedContent']/ul/li"); const linksCount = headerMenuLinks.length; for (i = 0; i < linksCount - 1; i++) { let randomIndex = Math.floor(Math.random() * linksCount); headerMenuLinks[randomIndex].click(); browser.back(); browser.pause(3000); } }); });