Comments (4)
I will work on this issue after a week. Looks interesting!
from nightwatch.
Hey @garg3133 I went through the description I think what you want is a custom error handler to catch these errors and return accordingly as the New Element API isn't returning an apt error message. Please let me know if I am wrong.
from nightwatch.
@AritraLeo The error "message" is fine here, just the "Error location" section is pointing to the wrong location.
For this, we'd need to see how it happens in the old element API and then implement something similar in the new API.
from nightwatch.
@AritraLeo The error "message" is fine here, just the "Error location" section is pointing to the wrong location.
For this, we'd need to see how it happens in the old element API and then implement something similar in the new API.
Ohk I get your point so to get the job done exploring how err is thrown in old element api is required.
from nightwatch.
Related Issues (20)
- Nightwatch commands in `waitUntil` callback return `NightwatchAPI` instead of a `Promise`. HOT 9
- 4000+ tests eats up disk space *nom* HOT 2
- Add aliases for `getCssProperty` command in new Element API HOT 1
- Feat: Add aliases for `getAttribute` in the new Element API. HOT 1
- Feat: Add `prop` and `property` as an alias of `getProperty` Command in the new Element API HOT 1
- Add `tagName` as an alias of `getTagName` in the new Element API
- Add `accessibleName` as an alias for `getAccessibleName` in the new Element API.
- Add `text` as an alias for `getText` command in the new Element API. HOT 1
- Nightwatch HTML Report overall time displaying different overall times within the same report HOT 1
- Stale element reference errors should report the element and/or line of code it considers stale HOT 2
- isPresent command misleading, works same as waitUntilElementPresent HOT 2
- unhandledRejection using findElement chained to find HOT 1
- Feat: Add `.print()` command in nightwatch. HOT 5
- Need to bump ejs version to 3.1.10 due to vulnerability HOT 2
- When opening this page https://nightwatchjs.org/guide/overview/what-is-nightwatch.html docs are overlapping.
- While opening this page https://nightwatchjs.org/guide/overview/what-is-nightwatch.html docs writing are overlapping. HOT 3
- Functional tests fail with socket hang up mid test
- Can't assert off find as documentation would suggest HOT 1
- Behavior change of .setValue() between 3.6.0. and 3.6.3 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nightwatch.