Cheerio
This add-on replaces the jQuery backend in drill with a Cheerio-based one so
that selectors like find('a')
and findAll('a', m.hasText('foo')
and certain
actions that normally would be handled with jQuery are instead done with
Cheerio.
const $ = require('cheerio')
const { drillIntoNode } = require('react-drill')
const drillCheerio = require('react-drill/addons/cheerio')
drillCheerio.activate()
drillIntoNode($('div'))
.find('a', m.hasText('Back'))
.click()
drillCheerio.deactivate()
API extensions