Selenium With JavaScript & Node.Js [Tutorial 2020]

  Рет қаралды 83,840

CodingSrc

CodingSrc

Күн бұрын

Пікірлер: 71
@HK-sw3vi
@HK-sw3vi 4 жыл бұрын
that quick cmd in a folder tip was awesome dude!
@fansari1000
@fansari1000 4 жыл бұрын
yeah i just learnt it now :)
@MatthewKennedyUK
@MatthewKennedyUK 4 жыл бұрын
I love a good tutorial on Windows, 75% of the tutorial is just wrestling Windows into shape for developing on.
@ouiss001
@ouiss001 4 жыл бұрын
Thank you very much! You saved me hours of mind puzzling through selenium official documentation. All tutorials should be like this one!
@nufrankz
@nufrankz 3 жыл бұрын
Excelent! Thank you!!! Another tip: you can npm init -y from inside the VSCode built-in terminal! Cheers from Chile
@hiphopheaven
@hiphopheaven 2 жыл бұрын
How can i scroll to the end of an infinite scroll with selenium?
@MegaSleepking
@MegaSleepking 5 жыл бұрын
Guy ! Is maraveouls video ! Explained in a simple way !
@Zero_tech_solution
@Zero_tech_solution 2 жыл бұрын
Thanks for this amazing Tutorial The link in the description is not available
@fabriciocruzz830
@fabriciocruzz830 3 жыл бұрын
Thanks man! You helped me alot with this tutorial!
@lifeincanada1015
@lifeincanada1015 2 жыл бұрын
Thanks for the easy setup of Selenium,
@rfossella
@rfossella 7 ай бұрын
Curious to know if this course is still relevant now. I see a slightly longer version on Udemy, but it's 5 years old.
@joincryptouk
@joincryptouk 5 жыл бұрын
Nice tutorial I really like using Selenium with NodeJS more so than Python, first time entering into NodeJS space for myself. Great tutorial great for beginners :) Thumbs up
@nhienthanh7687
@nhienthanh7687 3 жыл бұрын
thank you very much. You help me have sight overall selenium with Nodejs
@landearn
@landearn Жыл бұрын
Hello @CodingSrc, your mini course page does not exist, gets a 404 error when opening it.
@tuana7201
@tuana7201 5 ай бұрын
I can't find the full course
@sumanboi
@sumanboi 4 жыл бұрын
hey im not able to sign up to ur website to watch the course can u help me?
@wayned7604
@wayned7604 Жыл бұрын
Fantastic tutorial, thanks.
@prvnprvn7692
@prvnprvn7692 3 жыл бұрын
sir can you give information about how to take screen shots and how to make assertions in seleneium js
@TS-qf2km
@TS-qf2km 5 жыл бұрын
Very useful, many thanks!
@alinawaz4034
@alinawaz4034 5 жыл бұрын
thanks man I realy need this!
@santuroy3659
@santuroy3659 5 жыл бұрын
Thanks it was very helpful. Still looking similar video using intelliJ.
@edwincaceresi.3284
@edwincaceresi.3284 3 жыл бұрын
Great Tutorial!
@gpvideos9700
@gpvideos9700 4 жыл бұрын
Hello I'm new to this is node.js means is it an jasmine framework or it is different please let me know it is urgent
@eduardomavlyutov4710
@eduardomavlyutov4710 4 жыл бұрын
Great video! Thanks man!
@progrkj3768
@progrkj3768 5 жыл бұрын
Very nice!! It was very helpful to me! it was very useful time!
@FabianCalsina
@FabianCalsina 5 жыл бұрын
ty for the introduction
@huongquynh972
@huongquynh972 4 жыл бұрын
Hi I'd like to enroll in your course . When will the enrollment open again? Thank you
@CodingSrc
@CodingSrc 4 жыл бұрын
The enrollment is opened again :)
@mehdia8857
@mehdia8857 4 жыл бұрын
Awesome job!
@bharadwajnandiraju3437
@bharadwajnandiraju3437 4 жыл бұрын
Hi Rangel, good video. Can you plz tell us the diff b/w 'Selenium with node.js automation' Vs 'Protractor automation'. And which one is better to automate ReactJS application. Pros & Cons of both the tools......Thanks!!
@thershutj
@thershutj 5 жыл бұрын
the chromdriver installation is not installing properly for me? I followed all the steps, is there a reason that when I type start chromedriver in any directory it does not work?
@tanveerahmad5996
@tanveerahmad5996 2 жыл бұрын
Code is working with chrome.. but I am facing follwing error with firefox: SessionNotCreatedError: Expected browser binary location, but unable to find binary in default location, no 'moz:firefoxOptions.binary' capability provided, and no binary flag set on the command line
@tanveerahmad5996
@tanveerahmad5996 2 жыл бұрын
Please help me.. if you have any solution
@rahuldotel5983
@rahuldotel5983 4 жыл бұрын
the firefox is asking recaptcha in every request how to solve that please help .......
@dildarchowdhury6287
@dildarchowdhury6287 3 жыл бұрын
Hi, thank you so much, this is an awesome tutorial. I am actually trying to do it inside the Linux box, and somehow it is not initializing the browser. can you please help me with that?
@Truteno87
@Truteno87 5 жыл бұрын
I ran through all the steps(Although i'm using chrome driver) but i'm not getting anything after running the node index. anyone able to help?
@CodingSrc
@CodingSrc 5 жыл бұрын
Make sure that you have Chrome installed and that the chrome driver is in your path variables. Also what version is your Chrome browser and your chrome driver?
@TheMackvader
@TheMackvader 5 жыл бұрын
Thanks for the post. However after typing node.index, I hd the following message error : (node:23836) UnhandledPromiseRejectionWarning: SessionNotCreatedError: Expected browser binary location, but unable to find binary in default location, no 'moz:firefoxOptions.binary' capability provided, and no binary flag set on the command line at Object.throwDecodedError (C:\Selenium\SeleniumProject ode_modules\selenium-webdriver\lib\error.js:550:15) at parseHttpResponse (C:\Selenium\SeleniumProject ode_modules\selenium-webdriver\lib\http.js:560:13) at Executor.execute (C:\Selenium\SeleniumProject ode_modules\selenium-webdriver\lib\http.js:486:26) at processTicksAndRejections (internal/process/task_queues.js:85:5) (node:23836) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1) (node:23836) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. PS C:\Selenium\SeleniumProject> node index (node:22848) UnhandledPromiseRejectionWarning: SessionNotCreatedError: Expected browser binary location, but unable to find binary in default location, no 'moz:firefoxOptions.binary' capability provided, and no binary flag set on the command line at Object.throwDecodedError (C:\Selenium\SeleniumProject ode_modules\selenium-webdriver\lib\error.js:550:15) at parseHttpResponse (C:\Selenium\SeleniumProject ode_modules\selenium-webdriver\lib\http.js:560:13) at Executor.execute (C:\Selenium\SeleniumProject ode_modules\selenium-webdriver\lib\http.js:486:26) at processTicksAndRejections (internal/process/task_queues.js:85:5) (node:22848) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated eiise rejection. This error originated either by throwing insidblock, or by rejecting a promise whiche of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)(node:22848) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections thate, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.PS C:\Selenium\SeleniumProject> node index (node:22276) UnhandledPromiseRejectionWarning: SessionNotCreatedError: Expected browser binary location, but unable to find binary in default location, no 'moz:firefoxOptions.binary' capability provided, and no binary flag set on the command line at Object.throwDecodedError (C:\Selenium\SeleniumProject ode_modules\selenium-webdriver\lib\error.js:550:15) at parseHttpResponse (C:\Selenium\SeleniumProject ode_modules\selenium-webdriver\lib\http.js:560:13) at Executor.execute (C:\Selenium\SeleniumProject ode_modules\selenium-webdriver\lib\http.js:486:26) at processTicksAndRejections (internal/process/task_queues.js:85:5) (node:22276) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1) (node:22276) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
@CodingSrc
@CodingSrc 5 жыл бұрын
stackoverflow.com/questions/46829641/webdriverexception-message-expected-browser-binary-location-but-unable-to-fin?rq=1
@Terry-Ty-Chen-dev
@Terry-Ty-Chen-dev 4 жыл бұрын
Goood Tutorial, thank you
@rita_drimeri
@rita_drimeri 5 жыл бұрын
may i ask a question: i do everything follow ur video, but when i open Visual Studio Code json files dont display as npm files (with red icon), they display with yellow {}
@CodingSrc
@CodingSrc 5 жыл бұрын
I believe this comes from this extension here -> marketplace.visualstudio.com/items?itemName=vscode-icons-team.vscode-icons
@rita_drimeri
@rita_drimeri 5 жыл бұрын
@@CodingSrc thank u for the quick answer and this tutorial as well!
@priyankarawat5665
@priyankarawat5665 4 жыл бұрын
very helpful!!!!!! Thanks alot
@wendyslittleprogram3984
@wendyslittleprogram3984 3 жыл бұрын
Do you know what the package is for managing webdriver versions? I used selenium with Python and was able to just automatically use the latest chromedriver each time I ran my script. I can't seem to find the equivalent for node...
@cristiangheorghe2197
@cristiangheorghe2197 5 жыл бұрын
Nice Tutorial bro
@fibo12358
@fibo12358 4 жыл бұрын
yes EXCELLENT tutorial! - however, i had to use in line 5 - Key.ENTER [not RETURN] - RETURN made mine crash w error: UnhandledPromiseRejectionWarning: ReferenceError: Key is not defined at example (C:\Data1\Development\index.js:5:64)
@verybadcredentials
@verybadcredentials 4 жыл бұрын
nice thanks, was using java before. it seems that js is quicker
@boyapatiramakrishna2068
@boyapatiramakrishna2068 2 жыл бұрын
Brother, you told how to execute the selenium from terminal. Please tell me how to execute test cases from html page with a click of a button. If you tell this you are genius. Anyone can run from terminal. Which is not a big issue.
@nondzalisekondamase1801
@nondzalisekondamase1801 2 жыл бұрын
Hi the link is broken
@cachkiemtienonlinetainha
@cachkiemtienonlinetainha 4 жыл бұрын
Hi, can I upload index.js to server and control other website via my server ?
@theYoungWolf-Prod
@theYoungWolf-Prod 2 жыл бұрын
Hey, did you find any way to do this? For me, everything works locally, but I get 500 Internal error on production
@ramkumaar6405
@ramkumaar6405 5 жыл бұрын
Good session, I do everything follow your video and i gave node index then its showing error be like UnhandledPromiseRejectionWarning: SessionNotCreatedError: Expected browser binary location, but unable to find binary in default location, no 'moz:firefoxOptions.binary' capability provided, and no binary flag set on the command line.
@CodingSrc
@CodingSrc 5 жыл бұрын
Make sure you have Firefox installed and leave it to be installed to the default location and this should fix the error. Hope this helps :)
@taitetai
@taitetai 5 жыл бұрын
Hey man , How to setup when type "code ." will open Sublime Text like your video :D When i type code . , appear error : 'code' is not recognized as an internal or external command, operable program or batch file.
@CodingSrc
@CodingSrc 5 жыл бұрын
TAI TE TAI code . works only in command prompt or powershell/terminal. Where did you try to type this and what is your OS
@alira2924
@alira2924 4 жыл бұрын
Thank you
@natalirodriguez6401
@natalirodriguez6401 2 жыл бұрын
muchas gracias
@OneBigSabbatical
@OneBigSabbatical 4 жыл бұрын
I tried following your tutorial but when I went to open the gecko driver I got this error 'The program can't start because VCRUNTIME140.dll is missing from your computer. Can you help me out? or anyone else who is reading this? Thank you
@aburgosTV
@aburgosTV 4 жыл бұрын
Sorry i can't enroll to the course :(, nice video :)
@gayathrie2164
@gayathrie2164 5 жыл бұрын
I'm getting this error while executing --> node index (node:20728) UnhandledPromiseRejectionWarning: WebDriverError: unknown error: cannot find Chrome binary at Object.throwDecodedError (D:\Selenium\SeleniumExample ode_modules\selenium-webdriver\lib\error.js:550:15) at parseHttpResponse (D:\Selenium\SeleniumExample ode_modules\selenium-webdriver\lib\http.js:563:13) at Executor.execute (D:\Selenium\SeleniumExample ode_modules\selenium-webdriver\lib\http.js:489:26) at processTicksAndRejections (internal/process/task_queues.js:93:5) (node:20728) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1) (node:20728) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
@Chargon
@Chargon 4 жыл бұрын
Tell me you can google "cannot find Chrome binary" ..
@santiguardiola5397
@santiguardiola5397 2 жыл бұрын
you are a bit extrange, but fuking smart. great video. help me a lot
@earl5826
@earl5826 3 жыл бұрын
Could you please make another video with cucumber integration :D
@jeyzzz696
@jeyzzz696 5 жыл бұрын
thank you very much for this concise tutorial. Everything works fine except that I need to put the geckodriver.exe inside my project folder. For some reason it does not detect the path and produces an error.
@spiralingsphere3785
@spiralingsphere3785 2 жыл бұрын
You need to use the other paths below. Theres is one in the field above and one in the field below
@CustomClass5
@CustomClass5 5 жыл бұрын
Very nice
@sayidinaahmadalqososyi9770
@sayidinaahmadalqososyi9770 3 жыл бұрын
Tq sir,but can you face not move like that,wkwkw
@НикитаСтратий-л3ф
@НикитаСтратий-л3ф 2 жыл бұрын
water, only water
@ciandrapancho8716
@ciandrapancho8716 Жыл бұрын
not even working
@zeroex2347
@zeroex2347 10 ай бұрын
no github link what a trash
Selenium Javascript Tutorial For Beginners
40:31
CodingSrc
Рет қаралды 113 М.
Node.js Ultimate Beginner’s Guide in 7 Easy Steps
16:20
Fireship
Рет қаралды 1,7 МЛН
1% vs 100% #beatbox #tiktok
01:10
BeatboxJCOP
Рет қаралды 67 МЛН
Support each other🤝
00:31
ISSEI / いっせい
Рет қаралды 81 МЛН
It’s all not real
00:15
V.A. show / Магика
Рет қаралды 20 МЛН
The Most Important Skill You Never Learned
34:56
Web Dev Simplified
Рет қаралды 226 М.
Web Scraping like a GOD with Javascript
8:17
typecraft
Рет қаралды 59 М.
Selenium in JavaScript: Part 1 (Hello, World!)
9:58
SteamCode
Рет қаралды 33 М.
Node.js Tutorial for Beginners: Learn Node in 1 Hour
1:18:16
Programming with Mosh
Рет қаралды 6 МЛН
Intro To JavaScript Unit Testing With Mocha JS & Chai
17:51
Traversy Media
Рет қаралды 319 М.
What Are The Top 3 Automation Testing Tools? Top Automation Testing Tools 2023
13:13
Automation Testing with Joe Colantonio
Рет қаралды 210 М.
Web automation with JavaScript for beginners | Puppeteer
14:46
Hitesh Choudhary
Рет қаралды 134 М.
Always Check for the Hidden API when Web Scraping
11:50
John Watson Rooney
Рет қаралды 660 М.
How to Automate Browser Tasks with JavaScript
8:54
edutechional
Рет қаралды 209 М.
1% vs 100% #beatbox #tiktok
01:10
BeatboxJCOP
Рет қаралды 67 МЛН