Home / npm packages / protractor

protractor source code

Every file of protractor@7.0.0 as published on npm: 112 files, 715 KB. Search them by exact text or regex, in milliseconds.

It uses: eval(), child_process, process.env, the fs module, XMLHttpRequest.

What protractor uses

APIIn protractor
eval()
runs a string as JavaScript
Yes: 1 file
e.g. built/clientsidescripts.js
See the lines
new Function()
builds a function from a string, like eval (with or without new)
NoWho does
child_process
starts other programs
Yes: 6 files
e.g. built/bpRunner.js
See the lines
process.env
reads environment variables
Yes: 2 files
e.g. bin/protractor
See the lines
the fs module
reads and writes files
Yes: 6 files
e.g. built/cli.js
See the lines
http / https
makes or serves HTTP requests with Node's own modules
NoWho does
fetch()
makes HTTP requests
NoWho does
XMLHttpRequest
makes HTTP requests the old browser way
Yes: 1 file
e.g. built/selenium-webdriver/webdriver.js
See the lines
crypto
hashes, encrypts or makes random numbers
NoWho does
WebAssembly
loads WebAssembly code
NoWho does
document.cookie
reads or writes browser cookies
NoWho does
install scripts
runs a script when it's installed
NoWho does

Exact matches in the published files, so a mention in a comment counts too: open the lines to check.

Largest files

FileSize
CHANGELOG.md185 KB
built/element.js42 KB
built/browser.js37 KB
built/clientsidescripts.js31 KB
built/element.d.ts31 KB
built/selenium-webdriver/webdriver.js28 KB
built/config.d.ts24 KB
built/browser.d.ts19 KB
built/runner.js18 KB
built/locators.js18 KB
built/expectedConditions.js16 KB
built/plugins.d.ts15 KB
built/expectedConditions.d.ts13 KB
built/launcher.js12 KB
built/locators.d.ts11 KB
built/debugger.js10 KB
built/plugins.js9.4 KB
built/logger.js8.9 KB
built/driverProviders/local.js7.3 KB
built/cli.js7.0 KB
built/configParser.js6.9 KB
built/selenium-webdriver/locators.js6.3 KB
DEVELOPER.md5.7 KB
built/taskScheduler.js5.6 KB
built/driverProviders/direct.js5.4 KB
built/driverProviders/index.js4.9 KB
built/debugger/clients/explorer.js4.6 KB
built/taskRunner.js4.5 KB
built/frameworks/mocha.js4.4 KB
built/frameworks/jasmine.js4.1 KB

Questions

How many files are in protractor?

Version 7.0.0 of protractor publishes 112 files of source, 715 KB in all, not counting images, fonts and source maps.

Does protractor use eval?

Yes: protractor calls eval() in 1 of its files.

Does protractor start other programs?

Yes: protractor uses child_process in 6 of its files.

Does protractor run an install script?

No: protractor has no preinstall, install or postinstall script in its package.json.

npm packages that use…

Every package we've indexed →

Search your own code like this

The same engine answers over your documents and repositories: exact text and regex, every match counted, from your code or your AI agent.

See StackGrep Engine