Тёмный
No video :(

Selenium Course for Beginners - Web Scraping Bots, Browser Automation, Testing (Tutorial) 

freeCodeCamp.org
Подписаться 10 млн
Просмотров 820 тыс.
50% 1

Опубликовано:

 

24 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 504   
@jimshapedcoding
@jimshapedcoding 3 года назад
Third time is a charm! Thanks FCC, I am glad to share this with the best coding community. Hope everyone will have a great time learning Selenium! :)
@NAEEM_MALIK
@NAEEM_MALIK 3 года назад
Your work is *COMMENDABLE* I appreciate your *EFFORTS*
@TheGreatMind55
@TheGreatMind55 3 года назад
Congrats Jim🎉
@__________________________6910
@__________________________6910 3 года назад
@JimShapedCoding I already sub your channel from last 8months
@landsfadern2
@landsfadern2 3 года назад
sadly wont listen to 3 hour video! :(
@victorwestmann
@victorwestmann 2 года назад
You guys are doing history here by democratizing high quality education for free!! 🙏✅
@arxoidwrld4766
@arxoidwrld4766 2 года назад
for those who don't know, the newer version of selenium has removed the driver.find_element_by_id and similar functions, the new way of writing the same is- driver.find_element("id" , "") hope that helps
@yassinedghoughi9500
@yassinedghoughi9500 2 года назад
Thank you for the help, I just want to ask you, where did you find this info? I can't find a new documentation for selenium.
@nikitakuznetsov3418
@nikitakuznetsov3418 2 года назад
Thank you , really appreciate for this information! :3
@Programlama101
@Programlama101 2 года назад
@@yassinedghoughi9500 python gives warning when you use old version of code.
@Laizin
@Laizin Год назад
How can we extract a word with a tag of yt- formatted -string And im scraping data by looping through 50 yt channels. Sometimes it stops looping with an error of unable to locate But when im executing them individually all 50 channels are able to scrape well. What might be wrong
@NayyarAbbas-sh1vw
@NayyarAbbas-sh1vw Год назад
its more like beautifulsoup now :D
@vaibhav31
@vaibhav31 2 года назад
9:15 - r as the prefix to a string indicates a "raw string"; that is, character sequences like will be treated as literals and not as escaped control characters (as they normally are in a string.) It's useful when you expect your string to include backslashes, for instance Windows paths, or certain regex expressions.
@riemanngalois7383
@riemanngalois7383 2 года назад
Thanks you
@akirablac
@akirablac Год назад
use this for browser to not automatically closing: ` options = webdriver.ChromeOptions() options.add_experimental_option("detach", True) options.add_experimental_option('excludeSwitches', ['enable-logging']) driver = webdriver.Chrome(options=options) `
@workoutinspirations9990
@workoutinspirations9990 Год назад
Hey, how can I put it in code from "structure a bot project" (as a part of the booking module)?
@DimaShvetsov
@DimaShvetsov Год назад
Thanks a lot!
@yangwilliam3137
@yangwilliam3137 Год назад
thanks you're amazing!
@apxmvrc
@apxmvrc Год назад
@@workoutinspirations9990 Have you found out the answer?? 😅
@apxmvrc
@apxmvrc Год назад
I am also stuck there
@mikepenprogrammer2652
@mikepenprogrammer2652 2 года назад
Many thanks for this amazing tutorial. Not only was it great intro to OOP, it also provided enough info to build my own app from scratch: Automated my timesheet entries at work. It now takes no more than 2 seconds to open browser, login, navigate to desired page, enter all work and time related values, and to pass the submit process with approval from management :) Feeling good while conscious of how much more there is to do and to learn :D
@wakko3wb
@wakko3wb 2 года назад
One of the best and most complete tutorials, thank you for this.
@jimshapedcoding
@jimshapedcoding 2 года назад
Glad to read this :)
@rstark
@rstark 3 года назад
God finallyyyy FCC uploaded selenium tutorial, not 1000th tutorial on react or HTML 😁 I'm very happy! Thank you lovely FreeCodeCamp ❤️ hope here will be more videos with test automation library's, such as playwright and selenium!
@sandglokta4699
@sandglokta4699 3 года назад
This is gold. Please more info about testing automation 🙏🙏🙏
@zainali-pm1mn
@zainali-pm1mn 2 года назад
I am glad I chose this video to learn selenium scraping. I learned a lot from you!. You are really a great teacher. Hats off to you!
@jatinvashisht4293
@jatinvashisht4293 2 года назад
After watching the tutorial: This is one of the best tutorial for beginners, after this you will be able to scrap easily and make your own bots and can understand the documentation easily. Thank You Jim and FCC for this amazing course 🙏
@lbb2rfarangkiinok
@lbb2rfarangkiinok 2 года назад
It's "scrape/scraping". "Scrapping" means something else. :)
@Palmit_
@Palmit_ 2 года назад
Almost all the tests links are dead AND the code is outdated. Selenium now uses find_elements() NOT find_by_id() or find_by_class_name() etc.
@Vyzinn
@Vyzinn Год назад
How does find_elements() work?
@reklamsz3m3t
@reklamsz3m3t Год назад
@@Vyzinn class = .classname, id = #id etc.
@Palmit_
@Palmit_ Год назад
@@reklamsz3m3t a belated but sincere thank you to you :)
@shivamgupta-hn2nf
@shivamgupta-hn2nf Год назад
Can you please tell me How to find this attribute name losser-id = "name-of-loser" in selinium
@sinbad2597
@sinbad2597 Год назад
@@shivamgupta-hn2nf self.find_element(By.CSS_SELECTOR,'tag[losser_id="name_of_loser]') Here for tag,you have to find which tag this stuff is located in . Like div or a or li. (if you aren't using classes , use driver instead of self )
@Interesantes91
@Interesantes91 Год назад
the SeleniumEasy links no longer work
@kyawheinhtut3728
@kyawheinhtut3728 3 года назад
Thank you so much guys, you guys are helping us to continue learning during these covid times. THANK YOU
@switchi8663
@switchi8663 3 года назад
You guys have been dropping bangers
@rishabhkhandelwal4627
@rishabhkhandelwal4627 Год назад
options = webdriver.ChromeOptions() options.add_experimental_option("detach",True) driver = webdriver.Chrome(options=options) Use this code if your chrome crash.
@user-mc7is4kx3o
@user-mc7is4kx3o Год назад
куда это писать во второй части, когда мы открываем booking?
@erikmedeiros6124
@erikmedeiros6124 Год назад
hello, the video is very good, very intuitive, however in 2023, many of the examples used are invalidated, mainly due to the attributes of the elements of the sites, such as the booking one, they were changed which made it very difficult to scrape the website and follow the progress video was very difficult because of this.
@bixuplayzofficial
@bixuplayzofficial 8 месяцев назад
i am also stuck with that. I am unable to select currency in booking website. If you have solution for this let me know please.
@littleshort95
@littleshort95 2 года назад
Hi, the seleniumeasy demo site is no longer working
@et8175
@et8175 2 года назад
Anyone else have an issue with the os.environ['PATH']? I had to add a semicolon for it to work: r";C:/SeleniumDrivers". Anyone know why it doesn't add it automatically? Thanks.
@et8175
@et8175 2 года назад
Are the seleniumeasy links working? They seem to be removed from the website.
@Doom_C
@Doom_C 2 года назад
Wow, posted 1 day ago, and fixed my exact problem. No idea why this works.
@emimartin7044
@emimartin7044 2 года назад
Thanks for sharing this, i didnt know i should add semicolons there.
@muhmmedarbee8014
@muhmmedarbee8014 2 года назад
THANK YOU FOR THIS!!!!
@Manikanta-ko7qy
@Manikanta-ko7qy 2 года назад
@@et8175 thanks man..I am searching for this..
@murtazaburhani4022
@murtazaburhani4022 3 года назад
I loved his beautiful soup tutorial too 👌
@geoffkelly262
@geoffkelly262 3 года назад
Just started using Selenium and this will save me a bunch of time trying to figure out all the methods, thanks!
@worthsalive
@worthsalive Год назад
Thank you so much for this video. I really find it very helpful and easy to follow along. I was able to build bot that is able to scrape huge data from multiple paged website and dumps the record to json while keeping track of records that has already been scraped incase the bot fails at any point it will be able to continue from where it stoped when you run it again and finally merge all dumped json files together and generate an excel sheet. But I got my basis from this video all thanks to you man. I deeply appreciate.
@red_cape.
@red_cape. 3 года назад
Great video, to the point and explaining the details for those who are unfalmiliar with Python. !
@barrientoscardenaslinofern4717
@barrientoscardenaslinofern4717 2 года назад
This guy learn me Flask and Web Scraping with Bs4 for free. THANKS JIM PD. Your RU-vid videos of your canal help me to my carrer
@srdjanst1
@srdjanst1 Год назад
Great content. One of the best explanations in a coding video that I've ever seen.
@exspider64
@exspider64 Год назад
I needed to add ; before the driver path
@xinyuecao9130
@xinyuecao9130 2 года назад
Help! the selenium easy links does not work! It said: "Page Not found"
@xilllllix
@xilllllix 2 года назад
great tutorial! explains everything in a newbie-friendly way...
@aben6717
@aben6717 2 года назад
Thanks for the great content. Just one thing : Regarding selenium links: the pages aren't found. Anyone could help? thanks!
@aryavihat7098
@aryavihat7098 3 года назад
They are doing really a great job.😘.We all should appreciate them sothat they always get inspired by this. 😘👍.Carry on guys .😊😊
@federicopalacio5349
@federicopalacio5349 3 года назад
greaaaattttttttt, just finished valentin's postman crash course and willing to learn automatization for testing. gj
@mahmoudsaghir8375
@mahmoudsaghir8375 24 дня назад
one of the best teachers ever thanks for this amazing video
@crosshawk1944
@crosshawk1944 2 года назад
This is the best tutorial I have ever seen. Thank you very much!
@Superdupafool
@Superdupafool 2 года назад
how? it's literally outdated. there's no way you learned anything useful with this.
@satyamraj17
@satyamraj17 Год назад
@@Superdupafool wow
@realbutters
@realbutters 2 года назад
Was getting 'chromedriver' executable needs to be in PATH despite following along with the recommendations and I figured out the issue for both Mac and Win. First, I added a print statement right after the os.environ path setting piece: print(os.environ['PATH']) I noticed it was missing a ; in Windows (: in Mac). So, I modified driver_path append step to this and it worked: os.environ['PATH'] += os.pathsep + self.driver_path os.pathsep adds your OS specific path separator character.
@realbutters
@realbutters 2 года назад
There are other ways to do fix this problem, but this is what I did in a pinch to see what I could do to make it work like the teacher was doing it.
@rejkee
@rejkee 2 года назад
Thank you, it worked for me.
@MiturGrunge
@MiturGrunge Год назад
Great solution! Thanks! I figured out that simply adding a ; in front of the driver path works as well, so my line looks like os.environ['PATH'] += r";C:/selenium_drivers"
@bugrahanozcan8682
@bugrahanozcan8682 Год назад
@@MiturGrunge what is meaning of semi-colon?
@adrianford468
@adrianford468 Год назад
Can you share you your code at this part for an example
@Flo84swiss
@Flo84swiss 2 года назад
Your tutorial is amazing. One of the best coding video I ever saw on yt. There are some elements which changed in the meantime, but I could manage it by my own. It help me to build ezze a bot on another project. Thank you for that!
@Stopinvadingmyhardware
@Stopinvadingmyhardware 2 года назад
What?
@thecryptoindia
@thecryptoindia 2 года назад
I am not able to send_keys, can u help?
@zenabmohammed1156
@zenabmohammed1156 2 года назад
Awesome Content thanks Jim shapedCoding channel we wish to introduce more series in this field of python in web scraping 🥺🌸+ thanks FCC for sharing this awesome content on web scraping with us 👏👏🌸
@maratin93
@maratin93 Год назад
Great tutorial. I find a lot of interesting features in this video, which I am going to use in my automation project. Thanks.
@user-cq5hr2zg1u
@user-cq5hr2zg1u 3 года назад
Videos on this channel are just free gold mines, can’t believe you can get so much knowledge for free.
@ideepakmathur
@ideepakmathur 2 года назад
Started listening salenium today, and this video tutorial is gem 💎. This guy is really awesome at teaching. #ThanksMuch
@dattran9665
@dattran9665 Год назад
the first time I watch a excellent tutorial video. thank you very much from Vietnam. wish you all the best
@manjunath7497
@manjunath7497 3 года назад
😫guys please.. I beg u, really u are making much efforts. Giving all these for free is not a small task.
@emmanuelace1979
@emmanuelace1979 3 года назад
Finally...I have been waiting for this course all my life😂😂👍🏾
@ilCvlto
@ilCvlto 2 года назад
Jim is always a great teacher ✌🏻✌🏻
@SkWebStudio
@SkWebStudio 3 года назад
Thanks for the video!
@gurjot2318
@gurjot2318 3 года назад
brilliant... been waiting for selenium tutorial for ages
@codesuki3005
@codesuki3005 2 года назад
Please upload more of this tutorial and also teach automated data collection. Your style of teaching is nice
@muntaface
@muntaface 2 года назад
Another amazing tutorial. Thanks Jim
@KimKim-fu7zs
@KimKim-fu7zs 2 года назад
Thanks to your coaching, now I feel more confident in my coding skill a bit, haha, thank you, Jim!
@mohammedbadi6938
@mohammedbadi6938 3 года назад
where was this 8 months ago Greatest channel ever
@engrkpt
@engrkpt Год назад
Hi all! The seleniumeasy links are not working anymore so can anyone suggest a URL like those for us just starting? Thanks!
@judahnat6529
@judahnat6529 2 года назад
Great tutorial and great and clear teaching
@rshraddha
@rshraddha 3 года назад
I was just thinking of studying selenium and this video pops on my notification. What sort of dark magic is this?
@rishuyadav3551
@rishuyadav3551 3 года назад
Exactly, Same
@adejorodamilare1314
@adejorodamilare1314 3 года назад
Same
@neillunavat
@neillunavat 3 года назад
Finally a tutorial I will surely watch.
@neillunavat
@neillunavat 3 года назад
I have an issue called 'procrastiantion'. I just don't end up watching most of the vids I wanna watch...
@sinbad2597
@sinbad2597 Год назад
You watched?
@neillunavat
@neillunavat Год назад
@@sinbad2597 hell no 😂
@t1234-q5z
@t1234-q5z 2 года назад
yes we are using this for 'testing'
@RobsonDev
@RobsonDev 3 года назад
Amazing course! Thank you for share
@eugenekwaka
@eugenekwaka 2 года назад
Great tutorial Jim and the FCC team👌. I just have an issue with the links provided for the websites to test on. They seem to have been moved or are not working anymore. Please fix them for devs to use for learning.
@alejandrodelriosalas3627
@alejandrodelriosalas3627 2 года назад
+1
@vanshjagyasi4004
@vanshjagyasi4004 2 года назад
+1
@martinsemakula2274
@martinsemakula2274 3 месяца назад
seleniumeasy test web link no longer works. Is there any other alternative. Tutorial really looks informative so far
@tawhidmubashwir6811
@tawhidmubashwir6811 Год назад
the links of selenium easy is not working
@sayanjitdas7087
@sayanjitdas7087 2 года назад
for some of you concatenating the driver path string showed may not work specifically to windows user , for me I had to prepend ; to driver path to make it work like ";C:\seleniumDriver"
@abdulazizabdullaev8931
@abdulazizabdullaev8931 2 года назад
Thank u worked for me too
@joyedet1363
@joyedet1363 2 года назад
It doesn't work for me
@HerozTech
@HerozTech 3 года назад
I love this course ❣️
@giorgishaoshvili89
@giorgishaoshvili89 2 года назад
Hi i just started your tutorial and found out that seleniumeasy links that you provided are no longer available. any sudjestion?
@jiaxinliu2763
@jiaxinliu2763 2 года назад
same here
@Brocollipy
@Brocollipy 2 года назад
Really helpful stuff, many thanks!
@ajayiabdulmalik9446
@ajayiabdulmalik9446 3 месяца назад
pls where do people like jim learn that they become so good like this
@Rohan-bg8ci
@Rohan-bg8ci 3 года назад
And as always thank you FCC
@Nandhis
@Nandhis 2 года назад
Great tutorial! Thank you!💐🎂
@sampasomnathvloger7781
@sampasomnathvloger7781 2 года назад
Beautiful 🙏🏻
@joaovitordutra9365
@joaovitordutra9365 2 года назад
Are the tests from seleniumeasy down? I've tried to enter to code along with the tutorial, with no success. Are there any alternative links? Thanks
@muhammadshaharyar1
@muhammadshaharyar1 2 года назад
It's also not working when I am selecting rating. So, I did it on my own. star_filteration_box = self.find_element_by_css_selector( 'div[data-filters-item="class:class=5"]' ) If you are stuck here, it will help you.
@KimKim-fu7zs
@KimKim-fu7zs 2 года назад
@@muhammadshaharyar1 star_filtration_box = self.driver.find_element_by_xpath( '//*[@id="searchboxInc"]/div[1]/div/div/div[1]/div[5]') I tried this way, it works.
@zhanhongkang5897
@zhanhongkang5897 2 года назад
u may also find the Section 3 via the URL above as well. (since I'm not further to Section 3 yet)
@gklos1
@gklos1 2 года назад
link is not working - selenium easy
@alejo5007
@alejo5007 2 года назад
Hi, i got an error specifying the path to the web driver like it's done in the video. Instead, i managed to make it work by adding the path like this: driver = webdriver.Chrome("path_to_webdriver") Is there any problem doing it like that? Thanks in advance and thanks for this course.
@MyLoweLife
@MyLoweLife 2 года назад
This method worked for me as well so thanks for this
@lc4355
@lc4355 2 года назад
This also worked for me on macOS, thanks!
@justme-ns1rm
@justme-ns1rm 2 года назад
Hi, I'm getting an error both ways. Has anyone else had this problem?
@lucasmate1582
@lucasmate1582 2 года назад
​@@justme-ns1rm if you use windows try to use semicolon before the C:..... like ;C:/SeleniumDriver/
@FTCHLE
@FTCHLE 2 года назад
@@lucasmate1582 work thx!!!
@saburiyusuf7451
@saburiyusuf7451 2 года назад
This is a great Selenium Tutorial.
@ahmedqureshi4831
@ahmedqureshi4831 2 года назад
Great Project! Loved the accent. However, there is one thing i would request for the next selenium tutorial, I am would like to learn more about multiple browser window handling and switching. Thank you for this amazing #CrashCourse
@yorukama
@yorukama 3 года назад
hey its this guy. Love this guy.
@vlads7774
@vlads7774 2 года назад
none of the links actually work , it says the page can’t be found . can you please try to fix that ?
@tahagoren7011
@tahagoren7011 2 года назад
Please keep continue this diamond tutorials thanks a lot
@____kklw7148
@____kklw7148 2 года назад
Thanks for teaching. I have learnt a lots
@LeeroyGgJenkins
@LeeroyGgJenkins Год назад
Don't waste your time most of it is depricated by now.. Found out after putting 2hours into it..
@andreynguyen2503
@andreynguyen2503 Год назад
Figure this out yourself. Most of the deprecated stuff can be googled.
@aravindhansr4144
@aravindhansr4144 8 месяцев назад
Means ?
@rareminerals
@rareminerals 6 месяцев назад
The concept is same. Just the code has been changed or deprecated.
@arthurpiotto9844
@arthurpiotto9844 2 года назад
for some reason most of the content covered doesn't work properly in my computer, is it happening to others?
@zhanhongkang5897
@zhanhongkang5897 2 года назад
all works, before u start this lesson, set up environment first. watch the beginning of this video : ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-m0LdKZ-prto.html&ab_channel=JimShapedCoding
@firozkabir6102
@firozkabir6102 Год назад
This seleniumeasy url don't working😥
@wildrubis9496
@wildrubis9496 Год назад
you can try with different code brew
@hmm7458
@hmm7458 3 года назад
i needed this😭
@22KIzo
@22KIzo Год назад
It seems the css selector for button is out of date. Maybe I can find it in a div tag under the button tag,?
@castrombithi4135
@castrombithi4135 Год назад
going through the same issue
@aritra2116
@aritra2116 Год назад
Same here, anyone's got any insight as to how to access those specific buttons now?
@soyedafaria4672
@soyedafaria4672 Год назад
One of the best tutorials for beginners.
@maherhanna2432
@maherhanna2432 2 года назад
This is an amazing tutorial thank you very much
@_mytube_
@_mytube_ 2 года назад
Nicely explained man, thanks
@davoodshahabi1357
@davoodshahabi1357 2 года назад
It seems the link for the test\jquery... does not work. Would you please check it?
@TK-mf9dz
@TK-mf9dz Год назад
rather not for the begginers even thought I am following the explanation rather ultra basic, without going into details, just 1 senctence as if you have a mission to squezze in 3 h with everything max. Great idea to work on Booking Thanks anyway
@davidwang9827
@davidwang9827 Год назад
It's helpful for me. thank you very much.
@yrjdfans9306
@yrjdfans9306 10 месяцев назад
My chrome version is 118. something what should I do?
@mainbotpy
@mainbotpy Год назад
It was a great one for sure
@hipockt4
@hipockt4 2 года назад
Nice code but the code does change when you have version 104. It is difficult to try to fix the code to match your tutorial. I say this as I am a novice
@chandrachurmukherjeejucse5816
@chandrachurmukherjeejucse5816 2 месяца назад
Nice tutorial man
@hongbo-wei
@hongbo-wei Год назад
Selenium JQuery download link no longer works. 😂Please update it.
@kamiln851
@kamiln851 2 года назад
This tutorial is great!
@user-rk7sx2uu2l
@user-rk7sx2uu2l Год назад
"Thank you sincerely for creating and sharing the video. I'm incredibly grateful for the wealth of knowledge I gained about coding through your content. The concepts I learned, particularly finding new locators and changing the codes, have provided me with valuable opportunities to put my skills to the test. I can't express enough how much I appreciate your efforts in helping me expand my coding abilities. Thank you wholeheartedly once again!"
@morososaas3397
@morososaas3397 2 года назад
For anyone having promblems with the enviroment variables put ; before the path. e.g r";C:/SeleniumDrivers"
@smltv
@smltv 2 года назад
the link to the website doesn't work
@UsmanAli-iz9tg
@UsmanAli-iz9tg 2 года назад
it worked or not
@grumpy653
@grumpy653 2 года назад
Amazing tutorial!
@JoseLopez-or8xw
@JoseLopez-or8xw 2 года назад
Thank you!
@Zeix02
@Zeix02 2 года назад
I hope you make with the new version of selenium a tutorial. A lot of things is changed.
@dontbelasagna5968
@dontbelasagna5968 2 года назад
it works until after search click.. filtration didnt work on me :( copied word by word but it says unable to locate element how do i fix this
@nicolasrodas5094
@nicolasrodas5094 2 года назад
Dont know why, but i fix the drive path whit a semicolon. Hope this help 😅 def __init__(self, driver_path=r";C:\seleniumdriver", teardown=False):
@amanshaikh9900
@amanshaikh9900 3 года назад
Thank you so much guys
Далее
Python 101: Learn the 5 Must-Know Concepts
20:00
Просмотров 1,1 млн
ML Was Hard Until I Learned These 5 Secrets!
13:11
Просмотров 280 тыс.
NestJs Course for Beginners - Create a REST API
3:42:09