Very informative videos. I searched a lot and found this and feel so lucky. Also one input that I would like to mention here is: To create a config.js file we can all run an empty test and it will automatically create a config file itself.🤗🤗🤗
I love that you just jumped right in with all of it & aren't filtering "off topic" things like Git. Everybody & there parrot has been spitting out tunnel vision tutorials for way too many years. Cheers & keep it up! I hope to be able to use this to implement a solution in my current project situation. 8)
Great work, very helpful and thanks for providing videos on this. It really works and easy to understand. I hope you work like this more!!(I rarely give reviews that means it really worth it)
Thank you so much for posting this, I was looking for something like this to getting started with Nightwatch, I finally could get my first test running :)
I was going down a rabbit hole or errors and exceptions and stackoverflow from/trying different write up tutorials. The only challenge I had as of 04/20/20 was error indicating chromedriver supports 81 only. After failing to update chrome, I was able to downgrade chromedriver using, $ CHROMEDRIVER_VERSION=LATEST_80 npm install chromedriver --save-dev Videos are so helpful, and yours is especially awesome. Thank you so much and please do continue! ps even your website is so awesome!
Hi Dom, Thanks for the tutorial. It was really helpful. I have a question - in the timeline at 10:28 - you have used waitForElementVisible and have added the class. Shouldn't you be using something like useCss or useXpath ? I didn't know that you can use the class name just like that. What is the default mode to select class ? Is it something like useClass ???
Hi guys i was trying to change the defauly browser in nightwatch.conf.js (nightwatch generated file) I want to use chrome and I did all the proper config to use chrome from webdriver installation to changing of ports but whenever i am compiling and running the test I keep on having the connection refused error message and it seems like it keeps on connecting using the default host and port configuration of geckodriver. Please help me im a beginner in Automation testing thanks
Hi there, excellent tutorial, just one thing, I'm getting the following error while starting ChromeDriver on port 9515: Error: spawn node_modukes/. bin/chromedriver ENOENT. Do you know why might this be happening?
Great! But Getting this "An error occurred while trying to start ChromeDriver: cannot resolve path: "node_modules/.bin/chromedriver". Please check that the "webdriver.server_path" config property is set correctly."
I'm using the integrated terminal in VSCode with a custom ZSH config. You can see more about my configuration in my dotfiles github.com/aberonni/dotfiles
Hello! I am currently working in a project where when I create an account, a login-key is generated. I am having trouble copy and pasting the key. I've tried various methods, but to no avail. It is mostly the paste, that I can't get to work. Do you have a suggestion? [Tried commands] .keys(browser.Keys.CONTROL, "v") .keys(browser.Keys.LEFT_CONTROL, "v") .keys([browser.Keys.CONTROL, "v"])
Hi Dom, I got stuck in a problem i.e. I have set Firefox as my default browser in my nightwatch.json file but for some reason, I keep on getting the following error: 'Error while running .navigateTo() protocol action: The SSL certificate running on this host cannot be validated. If you wish to force accepting insecure SSL certificates, set acceptInsecureCerts=true in the desiredCapabilities options' As suggested in the error I used 'acceptInsecureCerts=true' option under 'desiredCapabilities' for firefox in my nightwatch.json but it still did not work. Any advise any workaround?
Hi Dom, I decided to learn testing, your video is very detailed, however I followed every step, and two times I did everything from scratch and both times I have "Error: no test specified" I am not sure what I did wrong.
when run the command npm test get the error ""An error occurred while trying to start ChromeDriver: cannot resolve path: "node_modules/.bin/chromedriver"."
I was following along trying to get this working, first I got an error trying to start ChromeDriver which I managed to fix, now after I've created the test I'm getting an error telling me Timed out while waiting for element to be present for 5000 milliseconds. - expected "visible" but got: "not found"
show error: An error occurred while trying to start ChromeDriver: cannot resolve path: "./node_modules/.bin/chromedriver". Please check that the "webdriver.server_path" config property is set correctly. But I already install chromedriver. So, what should i do?
hello I am a beginer, could you please do a video to show how to downlaod Nightwatch on MacBook. I need a help please, i like your videos they are very clear and useful. Thank you
Dom, i am getting ---An error occurred while trying to start ChromeDriver: cannot resolve path: "node_modules/.bin/chromedriver". Please check that the "webdriver.server_path" config property is set correctly. Error: Timeout while trying to connect to ChromeDriver on port 9515. at Socket.socketErrorListener (_http_client.js:392:9) at emitErrorNT (internal/streams/destroy.js:82:8) at emitErrorAndCloseNT (internal/streams/destroy.js:50:3) at process._tickCallback (internal/process/next_tick.js:63:19) npm ERR! Test failed. See above for more details
can anyone tell me, what is the code complete or code suggestion extension for nightwatch in vscode (windows) ?
4 года назад
Is it possible to do the test sequence with the nightwatch where I do the test first on the login page and then on the next screen? If so, how do I do it? The website does not accept cookies.
Hey there, I think you just need to login in the login screen and then just redirect the user to the next screen. I don't think there should be anything missing from the skills you can learn from my videos. What are you struggling with specifically?
I'm having an issue where my test does not read at all. It starts the chrome browser but does nothing else. My main issue is that it will not navigate to a new URL. Is anyone else having this issue? I'm on nightwatch 1.1.12
Very good video but please adjust the microphone better next time. I had hard time hearing you most of the time and the information you give is too valuable to be missunderstood.
Very informative videos. I searched a lot and found this and feel so lucky. Also one input that I would like to mention here is:
To create a config.js file we can all run an empty test and it will automatically create a config file itself.🤗🤗🤗
Very nice lesson. Great way to start Nightwatch. Thanks for sharing.
Great work!! Excited to follow along..
I feel honoured to have you stop by and check this out, thank you!
I love that you just jumped right in with all of it & aren't filtering "off topic" things like Git. Everybody & there parrot has been spitting out tunnel vision tutorials for way too many years. Cheers & keep it up! I hope to be able to use this to implement a solution in my current project situation. 8)
Great work, very helpful and thanks for providing videos on this.
It really works and easy to understand. I hope you work like this more!!(I rarely give reviews that means it really worth it)
Nicely explained. Keep it up Dom.
Dom, I love your videos. I watched through all 8 of this series and really enjoyed it the whole way. 5/5 stars!
Thank you so much for posting this, I was looking for something like this to getting started with Nightwatch, I finally could get my first test running :)
Awesome video, very well explained..am glad I found this channel while searching videos on nightwatchjs keep up the great work Dom!! 🤘
❤️❤️ From 🇮🇳🇮🇳
Thank you very much Dom, you helped alot with your video series to start with NightWatch.
Thank you so much Dom. Your courses really help me a lot! Keep up the good work.
I was going down a rabbit hole or errors and exceptions and stackoverflow from/trying different write up tutorials. The only challenge I had as of 04/20/20 was error indicating chromedriver supports 81 only. After failing to update chrome, I was able to downgrade chromedriver using,
$ CHROMEDRIVER_VERSION=LATEST_80 npm install chromedriver --save-dev
Videos are so helpful, and yours is especially awesome.
Thank you so much and please do continue!
ps even your website is so awesome!
Thank you Grace for the kind kind words, really appreciate it!
thanksss, this was the better tutorial that I found about nightwatch (and the only one that worked)
I am from Brazil say hello to meeee
Ok
hello to youuuu
Hi Dom,
Thanks for the tutorial. It was really helpful.
I have a question - in the timeline at 10:28 - you have used waitForElementVisible and have added the class.
Shouldn't you be using something like useCss or useXpath ? I didn't know that you can use the class name just like that. What is the default mode to select class ? Is it something like useClass ???
Hey! The default in NightwatchJS is CSS selector
Live coding masterclass wow 👏 👌 😍 excel thanks man
Glad it was helpful!
are you kidding me this was a masterclass 👏 👏
Thanks for sharing your knowledge. This is a great intro video!
Thank you!!
This video is awesome, helped me a lot! Thanks Dom
very good speech and a great lesson plan!
liked and subscribed, wish u all the best!
thank you ;)
Thank YOU!!
We also need to end our test case on complete, using .end(), and video is very helpfull
great explanation Dom! 10/10
Great stuff man. Many thanks for the tutorial.
Best i have read the doc and found error ur video solved my prb 😍
Hi guys i was trying to change the defauly browser in nightwatch.conf.js (nightwatch generated file) I want to use chrome and I did all the proper config to use chrome from webdriver installation to changing of ports but whenever i am compiling and running the test I keep on having the connection refused error message and it seems like it keeps on connecting using the default host and port configuration of geckodriver. Please help me im a beginner in Automation testing thanks
Explained very nicely 💐
Thanks Dom you did great job here thanks for your explanation
Thank you!!
Hi there, excellent tutorial, just one thing, I'm getting the following error while starting ChromeDriver on port 9515: Error: spawn node_modukes/. bin/chromedriver ENOENT. Do you know why might this be happening?
Great! But Getting this "An error occurred while trying to start ChromeDriver: cannot resolve path: "node_modules/.bin/chromedriver".
Please check that the "webdriver.server_path" config property is set correctly."
Nice tutorial and terminal Which one are you using ?
I'm using the integrated terminal in VSCode with a custom ZSH config. You can see more about my configuration in my dotfiles github.com/aberonni/dotfiles
How to handle a pop up? I have form to fill but it is in the pop up. How can I handle the switching of windows?
Thank you Dom very much.
This is great. Wondering what is required for node version for this to work?
i m getting error because i have old version of chrome driver installed, what steps should i take to make it work?
dude, awesome video, liked and shared!
Thanks!!
Hello!
I am currently working in a project where when I create an account, a login-key is generated. I am having trouble copy and pasting the key. I've tried various methods, but to no avail. It is mostly the paste, that I can't get to work.
Do you have a suggestion?
[Tried commands]
.keys(browser.Keys.CONTROL, "v")
.keys(browser.Keys.LEFT_CONTROL, "v")
.keys([browser.Keys.CONTROL, "v"])
Hi Dom, I got stuck in a problem i.e. I have set Firefox as my default browser in my nightwatch.json file but for some reason, I keep on getting the following error:
'Error while running .navigateTo() protocol action: The SSL certificate running on this host cannot be validated. If you wish to force accepting insecure SSL certificates, set acceptInsecureCerts=true in the desiredCapabilities options'
As suggested in the error I used 'acceptInsecureCerts=true' option under 'desiredCapabilities' for firefox in my nightwatch.json but it still did not work. Any advise any workaround?
Hi Dom, I decided to learn testing, your video is very detailed, however I followed every step, and two times I did everything from scratch and both times I have "Error: no test specified" I am not sure what I did wrong.
when run the command npm test get the error ""An error occurred while trying to start ChromeDriver: cannot resolve path: "node_modules/.bin/chromedriver"."
I was following along trying to get this working, first I got an error trying to start ChromeDriver which I managed to fix, now after I've created the test I'm getting an error telling me Timed out while waiting for element to be present for 5000 milliseconds. - expected "visible" but got: "not found"
show error:
An error occurred while trying to start ChromeDriver: cannot resolve path: "./node_modules/.bin/chromedriver".
Please check that the "webdriver.server_path" config property is
set correctly.
But I already install chromedriver.
So, what should i do?
Today got solution:
const chromedriver = require("chromedriver");
..................
..................
"webdriver": {
.......
"server_path": chromedriver.path,
.....
}
...........................
........................
add the complete path node_modules/chromedriver/lib/chromedriver/chromedriver.exe
There is actually a better cross-platform fix - check the code on GitHub
@@CodingwithDom yeah it works
hello I am a beginer, could you please do a video to show how to downlaod Nightwatch on MacBook.
I need a help please, i like your videos they are very clear and useful. Thank you
Hi there, can you let me know with which step of the video you are struggling specifically?
Dom, i am getting ---An error occurred while trying to start ChromeDriver: cannot resolve path: "node_modules/.bin/chromedriver".
Please check that the "webdriver.server_path" config property is set correctly.
Error: Timeout while trying to connect to ChromeDriver on port 9515.
at Socket.socketErrorListener (_http_client.js:392:9)
at emitErrorNT (internal/streams/destroy.js:82:8)
at emitErrorAndCloseNT (internal/streams/destroy.js:50:3)
at process._tickCallback (internal/process/next_tick.js:63:19)
npm ERR! Test failed. See above for more details
Awesome video, what IDE are you using?
VSCode :)
can anyone tell me, what is the code complete or code suggestion extension for nightwatch in vscode (windows) ?
Is it possible to do the test sequence with the nightwatch where I do the test first on the login page and then on the next screen?
If so, how do I do it? The website does not accept cookies.
Hey there, I think you just need to login in the login screen and then just redirect the user to the next screen. I don't think there should be anything missing from the skills you can learn from my videos. What are you struggling with specifically?
Thank you - Nicely done!
Great job Dom!
I'm having an issue where my test does not read at all. It starts the chrome browser but does nothing else. My main issue is that it will not navigate to a new URL. Is anyone else having this issue? I'm on nightwatch 1.1.12
Many thanks for this tutorial!
smashed it for a first video tadaaaa
awesome job dom!
Very nice explanation
Thanks. Nice tutorial.
going to tell my grendma, will be soon :).
really nice. Finally manage to run it on Ubuntu thanks to U. Whats the code editor?
Thanks! It is VSCode
Does anyone know how to upload file/photo from our PC folder using Nightwatch?
I've never done it myself but I found this while googling: stackoverflow.com/questions/24440712/uploading-an-image-file-with-nightwatch-js
Very helpful!! Thank you.
Thank YOU!
Grande Domenico!
Nice explanation 😀🤗
How to run Nightwatch tests on Continuous Integration like Jenkins.
That is going to be one of the topics I cover in a future video. Subscribe to make sure you don't miss it! Thanks for dropping by :)
Nice Video!
BIG UP Domenico!
Grande Dom!!!!!
😀😎
Anyone knows how to generate random data in input field?
try faker.js
@@Shinpoke030 got any info how to implement this to nightwatch? cant do it.. chance is working but faker I think is better but cant make it work...
thank you!
What IDE is this?
Visual Studio Code
Very good video but please adjust the microphone better next time. I had hard time hearing you most of the time and the information you give is too valuable to be missunderstood.
Nice video!