Research
Security News
Threat Actor Exposes Playbook for Exploiting npm to Build Blockchain-Powered Botnets
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
nemo-drivex
Advanced tools
Selenium webdriver extensions for Nemo automation framework. Adapts JSON-formatted locator objects to common selenium-webdriver operations.
Unless you plan to get your hands dirty and author your own 'view' plugin (see nemo-view), you probably won't be interacting with nemo-drivex directly, besides adding it as a dependency and adding it to your nemo-plugins.json config. If you are planning to use nemo-view, just start with the docs there.
Register as "drivex" (see below)
{
"plugins": {
"drivex": {
"module": "nemo-drivex",
"register": true
}
}
}
The JSON locators expected by nemo-drivex would look like this:
{
"locator": "#result .result",
"type": "id"
}
type would be any of the accepted locator strategies of the current version of selenium-webdriver: e.g. id, name, css, className, linkText, partialLinkText
locator would be the string which would locate the element(s) via the selected strategy
##Example usage
var resultEl = nemo.drivex.find({'locator': '#result .result', 'type': 'css'});
//resultEl will be a selenium-webdriver promise, which will resolve to a found element or null
Name | Type | Description |
---|---|---|
elements |
Array | array of WebElements |
Promise
Name | Type | Description |
---|---|---|
elements |
Array | array of WebElements |
Promise
Name | Type | Description |
---|---|---|
elements |
Array | array of WebElements |
Promise
Name | Type | Description |
---|---|---|
elements |
Array | array of WebElements |
Promise
Name | Type | Description |
---|---|---|
locator | ||
el |
WebElement |
Promise
Name | Type | Description |
---|---|---|
locator | ||
el |
WebElement |
Promise
Name | Type | Description |
---|---|---|
elements |
Array | array of WebElements |
Promise
Name | Type | Description |
---|---|---|
locator | ||
el |
WebElement |
Promise
Name | Type | Description |
---|---|---|
locator | ||
timeout |
Number |
Promise
object
Name | Type | Description |
---|---|---|
locator |
string | a locator string, such as "[value='US']" or "#countrySelect" |
type |
string | corresponds to one of the Selenium Locator strategies (id, name, xpath, css) |
FAQs
Selenium webdriver extensions for Nemo automation framework
The npm package nemo-drivex receives a total of 22 weekly downloads. As such, nemo-drivex popularity was classified as not popular.
We found that nemo-drivex demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
Security News
NVD’s backlog surpasses 20,000 CVEs as analysis slows and NIST announces new system updates to address ongoing delays.
Security News
Research
A malicious npm package disguised as a WhatsApp client is exploiting authentication flows with a remote kill switch to exfiltrate data and destroy files.