Selenium in JavaScript: Part 1 (Hello, World!)

  Рет қаралды 33,129

SteamCode

SteamCode

Күн бұрын

Пікірлер: 22
@daniel-talon
@daniel-talon 2 жыл бұрын
I have watched almost 1h of other course teaching how to use Selenium with Ruby and I spent a lot of time installing dependencies and stuff, all super complicated. Then I decide to stop and look for another tutorial. Luckily I found this one here and I was able to write my 1st test in less than 5 min. Great job and thanks for sharing!
@steamcode4441
@steamcode4441 2 жыл бұрын
Glad it helped! I always try to make things as simple as possible, so it is good to hear that my tutorial made it simple!
@Stone8age
@Stone8age Жыл бұрын
Damn this was really helpful. Thanks mate. The guide on their site is really convoluted.
@joselynrovellequartz9589
@joselynrovellequartz9589 2 жыл бұрын
This is a really nice overview! Thanks for the tutorial!
@steamcode4441
@steamcode4441 2 жыл бұрын
Thanks! I'm glad you enjoyed the content!
@keni94
@keni94 2 жыл бұрын
thank you man, you deserve more appreciation
@steamcode4441
@steamcode4441 2 жыл бұрын
Thank you for watching! I appreciate the support!
@infolab1328
@infolab1328 2 жыл бұрын
Nice video! Keep it up!
@steamcode4441
@steamcode4441 2 жыл бұрын
Thanks! I'm glad you liked the video
@oleksandrdiatchenko1192
@oleksandrdiatchenko1192 2 жыл бұрын
Very nice. Thank you.
@FloStudios
@FloStudios 10 ай бұрын
What's the purpose of installing and requiring that chromedriver module? It doesn't seem to be used and judging by the Selenium docs and my own tests it's not needed.
@ezlylkana8942
@ezlylkana8942 Жыл бұрын
Hi is anybody experiencing this? I can't get Hello World to be typed on the search element
@caridadrivera9142
@caridadrivera9142 Жыл бұрын
Love this!
@olegkon1
@olegkon1 2 жыл бұрын
I tried to do everything as described in this video, but got: "NoSuchSessionError: This driver instance does not have a valid session ID". Any idea how to fix it? I've seen a bunch of posts on that, but can not figure it out.
@thinhduy6377
@thinhduy6377 2 жыл бұрын
I have an older version of chrome (106) but when i install chromedriver with ur code, it run with version 108. So how can i downgrade the version of chromedriver in the code if i don't want to update chrome?
@lifetime727
@lifetime727 Жыл бұрын
Bro, there is no old version support for Node, update the chrome spend a little more ram it will be much more convenient for coding
@thebaltsology246
@thebaltsology246 Жыл бұрын
'selenium-webdriver-chrome@*' is not in this registry. this is what I get when installing the chrome driver any well will be appreciated
@tejastoley6714
@tejastoley6714 Жыл бұрын
hello, can anyone suggest how to solve this error Error: Cannot find module 'node:events' Require stack: - c:\Users\Hp\Desktop\seleniumJS ode_modules\selenium-webdriver\bidi\index.js - c:\Users\Hp\Desktop\seleniumJS ode_modules\selenium-webdriver\lib\webdriver.js - c:\Users\Hp\Desktop\seleniumJS ode_modules\selenium-webdriver\chromium.js - c:\Users\Hp\Desktop\seleniumJS ode_modules\selenium-webdriver\chrome.js - c:\Users\Hp\Desktop\seleniumJS ode_modules\selenium-webdriver\index.js - c:\Users\Hp\Desktop\seleniumJS\testcases\test1.js at Function.Module._resolveFilename (internal/modules/cjs/loader.js:880:15) at Function.Module._load (internal/modules/cjs/loader.js:725:27) at Module.require (internal/modules/cjs/loader.js:952:19) at require (internal/modules/cjs/helpers.js:88:18) at Object. (c:\Users\Hp\Desktop\seleniumJS ode_modules\selenium-webdriver\bidi\index.js:18:26) at Module._compile (internal/modules/cjs/loader.js:1063:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10) at Module.load (internal/modules/cjs/loader.js:928:32) at Function.Module._load (internal/modules/cjs/loader.js:769:14) at Module.require (internal/modules/cjs/loader.js:952:19) { code: 'MODULE_NOT_FOUND', requireStack: [ 'c:\\Users\\Hp\\Desktop\\seleniumJS\ ode_modules\\selenium-webdriver\\bidi\\index.js', 'c:\\Users\\Hp\\Desktop\\seleniumJS\ ode_modules\\selenium-webdriver\\lib\\webdriver.js', 'c:\\Users\\Hp\\Desktop\\seleniumJS\ ode_modules\\selenium-webdriver\\chromium.js', 'c:\\Users\\Hp\\Desktop\\seleniumJS\ ode_modules\\selenium-webdriver\\chrome.js', 'c:\\Users\\Hp\\Desktop\\seleniumJS\ ode_modules\\selenium-webdriver\\index.js', 'c:\\Users\\Hp\\Desktop\\seleniumJS\\testcases\\test1.js' ] }
@steamcode4441
@steamcode4441 Жыл бұрын
Hi, this type of error is usually caused by outdated dependencies. I recommend you make sure you have the latest version of node installed
@feliwein_cc
@feliwein_cc 2 жыл бұрын
is there a way to make the client run the webdriver? something like you enter the inputs in the web and open a webdriver on the client pc?
@AlexBooster
@AlexBooster Жыл бұрын
Would it have killed you to switch off the TV that's running in the background? Good microphone but the TV in the background is f*cking annoying.
@Florian-lu2zo
@Florian-lu2zo 2 жыл бұрын
I used firefox and it didn't type in hello world because of some pop ups? It worked when I changed the search engine to duckduckgo.
Selenium in JavaScript: Part 2 (Our First Test)
5:28
SteamCode
Рет қаралды 10 М.
Cypress Complete Beginners Masterclass 1 | Step by Step | Raghav Pal |
1:20:54
Automation Step by Step
Рет қаралды 216 М.
Selenium Headless Scraping For Servers & Docker
16:22
NeuralNine
Рет қаралды 36 М.
Node.js is a serious thing now… (2023)
8:18
Code With Ryan
Рет қаралды 666 М.
Selenium With JavaScript & Node.Js [Tutorial 2020]
13:36
CodingSrc
Рет қаралды 83 М.
Test-Driven Development // Fun TDD Introduction with JavaScript
12:55
JavaScript | Mocha: Selenium Page Object Model Tutorial
13:17
QA Underground
Рет қаралды 12 М.
How to Automate Browser Tasks with JavaScript
8:54
edutechional
Рет қаралды 208 М.
Selenium in JavaScript: Part 3 (Basic Web Scraping)
4:56
SteamCode
Рет қаралды 7 М.