-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Fix stack of undefined issue #5513
base: master
Are you sure you want to change the base?
Conversation
We can't upgrade the version of Selenium without transitioning off the control flow and breaking a bunch of people. Chrome v75 introduced the new W3C actions API. Unfortunately, we can't update to support that API without introducing other breakages, so v74 is the last version of Chrome that will work with Protractor 5. You can download a Chrome v74 snapshot from https://commondatastorage.googleapis.com/chromium-browser-snapshots/Linux_x64/638880/chrome-linux.zip You might also need to pass "--no-sandbox" flag to Chrome
Doing this automatically means we can't pin the version of webdriver that we use in CI. Instead, we run update in the circle config.
…oxy to 4.5.4 travis_wait is not needed if the sauce connect proxy logs are written to stdout. This makes debugging proxy problems from the CI logs much easier. This commit also updates the debugging command to use the `--doctor` flag. Other changes include: 1. Upgrade sauce-connect proxy from 4.4.1 to 4.5.4
Optimist has been deprecated over 2 years ago as has a security vulnerability. With this change we use it's successor `yargs`. Closes: angular#5413
BREAKING CHANGE: Node.Js version 6 and 8 are no longer supported. Please update to Node.Js 10+ Closes angular#5431
BREAKING CHANGE: Debugger and explore methods are not compatable with Node 8+. Use `debugger` keyword instead. See: https://goo.gl/MvWqFh
utils.puts is no longer available in Node.JS 12
Protractor debugger and element explorer cannot be used for Node.js 8+ and were removed in version 7.
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please visit https://cla.developers.google.com/ to sign. Once you've signed (or fixed any issues), please reply here with What to do if you already signed the CLAIndividual signers
Corporate signers
ℹ️ Googlers: Go here for more info. |
1 similar comment
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please visit https://cla.developers.google.com/ to sign. Once you've signed (or fixed any issues), please reply here with What to do if you already signed the CLAIndividual signers
Corporate signers
ℹ️ Googlers: Go here for more info. |
In the default logic, this
err
object should be anObject
orString
. But in my case when theerr
is undefined or null, this code will throw an issue as below image. I add a logic to check if theerr
is not null or undefined.