Comments (3)
I can't see any changes that have happened in this area.
Please can you tell us what browser you were using? Is there an example site that we can reproduce this?
Are you using react, there is an edge case where the state management in react can cause problems with setting the value
from nightwatch.
If you look at the official doc for setValue, it was always meant to replace the contents of the input field by clearing them first. But due to some issue on WebDriver side, it wasn't working properly on some websites while it did on others.
So, we added a fallback for the clear command in #4035 to always clear the field by sending the required number of backspaces to the field if the WebDriver clear
method does not work.
To append to the existing value in the field, you should use the sendKeys command.
While this change is already mentioned in the changelog for 3.6.1
, maybe we should also highlight all the commands that it affects.
from nightwatch.
got it thank you. i personal like .setValue()
clearing the old value better than appending to it. just wanted to confirm it is the expect behavior.
+1 it would be great to mention the impacted commands on the release notes
from nightwatch.
Related Issues (20)
- 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
- Show command usage location in new Element API errors. HOT 4
- Feat: Add `.print()` command in nightwatch. HOT 6
- 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
- browser.window.open('tab') error in incognito "Failed to open new tab - no browser is open"
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.