0.3.4 • Published 4 years ago

webdriver-sizzle v0.3.4

Weekly downloads
495
License
MIT
Repository
github
Last release
4 years ago

webdriver-sizzle NPM version Build Status

Locate a selenium-webdriver element by sizzle CSS selector.

var selenium = require('selenium-webdriver'),
    sizzle = require('webdriver-sizzle'),
    driver = new webdriver.Builder()
      .withCapabilities(webdriver.Capabilities.phantomjs())
      .build()
    $ = sizzle(driver)

// Find the first element with class btn and click it
$('.btn').click()

// Count the paragraphs
$.all('p').then(function (elements) {
  console.log(elements.count);
});
0.3.4

4 years ago

0.3.3

4 years ago

0.3.2

4 years ago

0.3.1

4 years ago

0.3.0

6 years ago

0.2.2

10 years ago

0.2.1

10 years ago

0.2.0

10 years ago

0.0.6

10 years ago

0.0.5

10 years ago

0.0.4

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago

0.0.0

10 years ago