npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@oracle/oraclejet-webdriver

v17.1.0

Published

Oracle JET WebDriverJS WebElements

Downloads

3,344

Readme

Oracle JET Component WebElements

oraclejet-webdriver is a UI automation library built on top of selenium-webdriver, and designed to work with Oracle JET-based applications.

Installation

npm install -D @oracle/oraclejet-webdriver

Usage

The library is available with type definitions so that tests can be authored in TypeScript.

The root module @oracle/oraclejet-webdriver has a default export where common utilities can be found. WebElements that correspond to JET components can be found underneath @oracle/oraclejet-webdriver/elements

A sample test script using Mocha:

import ojwd, { DriverManager } from '@oracle/oraclejet-webdriver';
import { ojInputText } from '@oracle/oraclejet-webdriver/elements';
import { By, WebDriver } from 'selenium-webdriver';

describe('My suite of tests', function () {
  let driver: WebDriver;

  before(async function () {
    driver = await DriverManager.getDriver();
    await ojwd.get(driver, 'http://myapp.com/');
  });

  it('changes an <oj-input-text> value', async function () {
    const input = await ojInputText(driver, By.id('text-input-1'));
    await input.changeValue('...');
  });

  after(function () {
    DriverManager.releaseDriver(driver);
  });
});

Compatibility

It's important to use the same version of oraclejet-webdriver which matches your oraclejet. If the versions differ, the library will throw an exception upon opening the page and a console error will be logged.

Dependencies

This library depends on the following: