Closed xxholly32 closed 6 years ago
@xxholly32 Please ask this question on the Google Groups forum https://groups.google.com/forum/#!forum/nightwatchjs
I guess English is not your first language, but I could not understand your question. Please rewrite the question and, if you can, provide some real-world examples of what you want to see.
@sandeepthukral
Can use javascript code inside nightwatch
browser
.url(devServer)
.waitForElementVisible('#app', 5000)
// i want do this
document.querySelector("#app").style.backgroundColor = "red";
.end()
i wiil test my company if all project is using my special style sheet !
so i test my project if it had files like xx.css or test some dom witch not exist had special style .
but nightwatch cannt do all this, please let me add dom in my project。