Research
Security News
Malicious npm Package Typosquats react-login-page to Deploy Keylogger
Socket researchers unpack a typosquatting package with malicious code that logs keystrokes and exfiltrates sensitive data to a remote server.
@types/protractor
Advanced tools
Changelog
4.0.0
This version includes some big changes, so we've decided to make it version 4.0!
webdriver-manager is now it's own NPM, so you
can use it in your own projects. Protractor depends on it, though, so you shouldn't need to change
anything. However, because it is a new dependency you'll need to rerun webdriver-manager update
.
Protractor has TypeScript typings! See the example for details on how to use TypeScript in your tests.
(d932ad7) chore(browser): rename protractor to browser and add a protractor namespace (#3214)
Selenium Webdriver has deprecated getInnerHtml and getOuterHtml. You'll need to update your tests to not use these methods.
Protractor node module no longer has a config.json file. This is now handled in the webdriver-manager node module and the files are also downloaded to the webdriver-manager/selenium folder.
(d6910c1) fix(edge): Use resetUrl about:blank for MicrosoftEdge (#3267)
(f205518) fix(launcher): resolve promise for getMultiCapabilities (#3195)
closes #3191
(f149bd1) fix(docs): Change extension for docs links to .ts (#3187)
closes #3170
(67474e0) chore(configParser): allow non-glob file pattern (#2754)
Cucumber allows line numbers to be passed in the filename in the form of
features/some.feature:42
. Glob expanding that results in an empty array and nothing being passed
to the framework runner. This change checks for glob magic characters and only tries expanding it
if found. Otherwise it just passes the filename verbatim. This was previously handled in [#2445]
by stripping the line number first, but this is a more generic (non-cucumber) way to do it.
Glob needed to be upgraded for this which resulted in a weird [npm 3 bug]
(https://github.com/npm/npm/issues/10637). Removing the rimraf package resolved this. It was only
used to generate documentation which itself was removed a while ago.
(f311320) fix(website): edit getText JSDoc for shortDescription (#3310)
closes #3233
(ba63a92) fix(util): check stack exists before filtering the stack trace (#3309)
closes #3224
(c86acd4) chore(website): fix website for items to appear properly (#3314)
(e9b49f2) fix(config): do not flatten capabilities (#3291)
This is no longer necessary in the latest version of selenium-webdriver. Without this change,
--capabilities.chromeOptions.binary
will do nothing, for example.
Closes #3290
(78f3c64) chore(exitCodes): adding exit code for browser connect errors (#3133)
(85209f4) feat(webdriver): extract webdriver-manager into a separate node module (#3068)
closes #607, #2402
(8316917) feat(expectedConditions): adding urlIs and urlContains (#3237)
(4353069) deps(outdated): Update outdated dependencies (#3251)
Updated the following outdated packages: body-parser, chai, chai-as-promised, glob, jshint, mocha, request, saucelabs, typescript, typings
(a6cae73) deps(selenium): upgrade to selenium-webdriver 2.53.2 (#3223)
closes #3173, closes #3167, closes #3058
(128f8e1) dep(webdrivermanager): upgrade to 10.1.0 (#3312)
(2a391bc) chore(es7): async/await example
(bb65e5a) chore(website): clean up documentation (#3334)
(f5dc4f9) chore(example): add a protractor typescript example (#3323)
Readme
This is a stub types definition for Protractor (https://github.com/angular/protractor). Protractor provides its own type definitions, so you don't need @types/protractor installed!
FAQs
Unknown package
We found that @types/protractor 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
Socket researchers unpack a typosquatting package with malicious code that logs keystrokes and exfiltrates sensitive data to a remote server.
Security News
The JavaScript community has launched the e18e initiative to improve ecosystem performance by cleaning up dependency trees, speeding up critical parts of the ecosystem, and documenting lighter alternatives to established tools.
Product
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.