Web automation in python for beginners

  Рет қаралды 548,773

Hitesh Choudhary

Hitesh Choudhary

Күн бұрын

Пікірлер: 763
@bbf0ab08cb44becfec
@bbf0ab08cb44becfec 4 жыл бұрын
"If you take out the fun, it's not fun anymore" wise words indeed.
@xichenli2001
@xichenli2001 4 жыл бұрын
Indeed, "if you take out all the fun, whats gone leftover gonna be Notfun"
@whatnothin1401
@whatnothin1401 3 жыл бұрын
just wanted to state this ... i am amazed :D
@vaibhavtiwari6540
@vaibhavtiwari6540 3 жыл бұрын
Yes, "There is no fun, without fun."
@souravkumar5774
@souravkumar5774 3 жыл бұрын
Every 60 seconds in Africa, a minute passes.
@abhay6276
@abhay6276 3 жыл бұрын
It's same applicable for life...
@omkhard1833
@omkhard1833 3 жыл бұрын
Bieng a CCNA aspirant i am too happy to listen when Tino Sir says "I am not a programmer guy i grew up with switch routers and firewaalls" literally touch my heart.... keep up the great work sir
@slashd
@slashd 4 жыл бұрын
Actually it's much easier to just install the Selenium IDE extension to your Chrome/Firefox browser, record what you are doing, then export it to Python code and work from there. The generated Python code: driver.find_element(By.NAME, "search_query").click() driver.find_element(By.NAME, "search_query").send_keys("selenium") driver.find_element(By.NAME, "search_query").send_keys(Keys.ENTER)
@sheelakaur6319
@sheelakaur6319 3 жыл бұрын
Thank you Hitesh, you just demo’d a complex subject in a fun and straight forward way. I look forward to your other videos!!
@larryg.6512
@larryg.6512 4 жыл бұрын
Great topic and video. Thank you very much. Really needed this as I want to know how to apply what I’m learning and have fun, including with automation, and not just be “dry” about it. Looking forward to learning more from you great job!
@KamranKhan006
@KamranKhan006 4 жыл бұрын
Clicked this video randomly, bro you are doing a lovely job explaining everything in such a neat and tidy way. Thank you! more power to you!
@adeltahmid_
@adeltahmid_ 4 жыл бұрын
Hi sir.I am Adel Tahmid from Bangladesh and I am only 15. I am really inspired by your videos and I learned a lot from them
@jdragon8184
@jdragon8184 3 жыл бұрын
finally a real video worth watching , i enjoyed my ds course and now for reward i will do this , ps : all my friend are doing web dev and i didn't want that so selenium helped
@champi-metal
@champi-metal 4 жыл бұрын
Cool man. Always keep programming fun. It gives joy when you use programming for personal stuff.
@krishnabezawada
@krishnabezawada 4 жыл бұрын
Good ... But I want to know how can I perform selenium automation on Current web browser (without opening another chrome Tab separately for selenium ) Thanks in advance ...
@AsianSparrow
@AsianSparrow 3 жыл бұрын
kzbin.info/www/bejne/g4HWfWOVgbybfck
@kshirodpatel
@kshirodpatel 4 жыл бұрын
We are fortunate that we are living in an era where teacher like Hitesh is teaching us. Sir your quality of teaching is awesome. Love from bhubaneswar, India.
@rudraprasad5022
@rudraprasad5022 4 жыл бұрын
Bro i am frm khordha
@bud384
@bud384 4 жыл бұрын
couldn't agree more, i've just subscribed!
@kakashisenpai99
@kakashisenpai99 4 жыл бұрын
Bro from Cuttack
@jajatieverready
@jajatieverready 4 жыл бұрын
@@kakashisenpai99 do u know python?
@Banditxam4
@Banditxam4 4 жыл бұрын
Bro from Nayagarh
@MattLeitholt
@MattLeitholt 3 жыл бұрын
This video gave me the excitement to continue learning about Python. I am headed to my desktop now to play 😁
@yosis1117
@yosis1117 4 жыл бұрын
loved the positive approach , problem is once you learn all that and want to find a job as an automation tester , the interview process will contain mostly programming problem solving questions using algos , these are super hard for me to master/practise(not fun at all). did anyone experience that while job hunting?
@harshitaggarwal4981
@harshitaggarwal4981 4 жыл бұрын
Your videos just removed my tension to make project for my final sem loved ur videos ....more power to you♥️😇
@saty
@saty 2 жыл бұрын
That's great. Now I understand why we should not click random things , looking very tempting 🤣🤣🙂
@venkatakalki3892
@venkatakalki3892 2 жыл бұрын
Hi sir, I'm getting this problem " find_element_by_xpath is deprecated use instead find_by_element " please help me on this
@arunjithm84
@arunjithm84 3 жыл бұрын
You are going to save me 5 hours of work eveyday 😄 My tool development is in progress 😎👍 Thanks much for the video 😊❤
@jackReme
@jackReme 4 жыл бұрын
Good Video but actually you need to copy "full xpath" instead of "xpath". :)
@Zydres_Impaler
@Zydres_Impaler 3 жыл бұрын
Thanks a lot bro, it works after using your tip
@rinshinjalal1952
@rinshinjalal1952 3 жыл бұрын
ya maan i wanna give you great gift thanks sssssss I spend about 2 days on this but nothing happend but your comment helped me alot
@ElijahIsMe
@ElijahIsMe 3 жыл бұрын
This should be pinned. I was so confused lol, thanks man
@beonelv
@beonelv 4 жыл бұрын
U have ni idea how much this was helpful to me thx alot
@mrnarason
@mrnarason 4 жыл бұрын
I was getting an error ImportError: No module named 'selenium' in PyCharm The solution for me was File -> Settings -> Inside your project's name -> Project Interpreter -> click on "+" button -> search for selenium (current version 3.141.0) -> click on install -> restart PyCharm.
@janpoonthong
@janpoonthong 4 жыл бұрын
This code will fix: #!/usr/bin/env python3 from selenium import webdriver options = webdriver.ChromeOptions() driver = webdriver.Chrome(options=options) driver.get('youtube.com') searchbox = driver.find_element_by_xpath('//input[@id="search"]') print(searchbox) searchbox.send_keys('Jan Poonthong') searchButton = driver.find_element_by_xpath('//*[@id="search-icon-legacy"]') print(searchButton) searchButton.click() Be Sure to download chromium on your system and run this code
@MurrayRide
@MurrayRide 4 жыл бұрын
This is honestly the best most simple tutorial on this subject! I am going to be watching all of your Python tutorials, I am a statistician who has switched away from R to Python and your videos are the perfect introduction to self learn on any topic. Thank you so much for your time in making these!
@aryanshmahato
@aryanshmahato 4 жыл бұрын
7:05 Hitesh sir put Semi-colon at the end of the line... Black Panther: We don't do that here
@HiteshCodeLab
@HiteshCodeLab 4 жыл бұрын
😂😂😂
@kiranpaithane3278
@kiranpaithane3278 4 жыл бұрын
🤣🤣😅
@surajkamble3548
@surajkamble3548 4 жыл бұрын
No one : Literally no one : Hitesh sir : i finally wrote my name. 🤣😂
@HiteshCodeLab
@HiteshCodeLab 4 жыл бұрын
Hahaha, that’s a really long last name
@surajkamble3548
@surajkamble3548 4 жыл бұрын
@@HiteshCodeLab 😅 well ,not that long for an indian sir.
@dappshow3094
@dappshow3094 4 жыл бұрын
never use sudo pip
@itsmmdoha
@itsmmdoha 4 жыл бұрын
I wish I had a haha reaction button 😂
@kimkimathi2312
@kimkimathi2312 3 жыл бұрын
I hit the suscribe button you are the best my techie,,your lively
@rishirajbehera7183
@rishirajbehera7183 3 жыл бұрын
Note: As of 2021 for Mac users, use: brew install --cask chromedriver .... keep learning ..
@kurdmanpouyesh
@kurdmanpouyesh 4 жыл бұрын
Wooooooow. Man that was exactly what i needed. You got yourself a new subscriber. Viva amitab bachan!
@Haluna11
@Haluna11 2 жыл бұрын
I had to put: while True: pass to the end of my program, otherwise it kept ending immediately
@nachtfuchs7711
@nachtfuchs7711 3 жыл бұрын
This is exactly what I was looking for. I got to learn that from scratch but it will be worth it
@tulasisanjay
@tulasisanjay 10 ай бұрын
the chrome is automatically closed why its happens?
@pavankumar.g2127
@pavankumar.g2127 4 жыл бұрын
I used the same code and I am getting exception like " selenium.common.exceptions.ElementNotInteractableException: Message: element not interactable ", I also tried to google it for resolving but I didn't get. Then how to resolve it?
@ryklu7278
@ryklu7278 4 жыл бұрын
Same problem -> Copy full XPath instead of Copy XPath e.g. "/html/body/ytd-app/div/div/ytd-masthead/div[3]/div[2]/ytd-searchbox/form/div/div[1]/input " and "/html/body/ytd-app/div/div/ytd-masthead/div[3]/div[2]/ytd-searchbox/form/button/yt-icon" works fine for me...
@bernardoclaro4499
@bernardoclaro4499 2 жыл бұрын
why the method "find_element_by_xpath" doesnt appear for me? i can only see the find_element one, can someone help?
@HeisenbergO5
@HeisenbergO5 2 жыл бұрын
Same problem occuring with me too. Have u found any solution yet?
@sanketmaske74
@sanketmaske74 4 жыл бұрын
Video starts at x.xx( find x yourself)
@smartzen110
@smartzen110 4 жыл бұрын
This is exactly we have done recently in our process
@Ebenenstil
@Ebenenstil 2 жыл бұрын
Very beautiful video. Thank you for the short and, above all, effective introduction to the topic of Web Automat
@CamKnoppMusic
@CamKnoppMusic 4 жыл бұрын
Just finished 4 years of computer science in college and probably 99% of it was just boring stuff. I feel like they could inspire their students to be passionate about code if they taught cool things like what you're teaching, but instead they just make students do boring projects year after year. Great video!
@XoLucyna
@XoLucyna 4 жыл бұрын
Thanks You Sir. I'm A 13 Years old Programmer In Python. And your tutorials are the best. Not because the video is good, interesting, or Informative. Yes, Of course the video is Really Informative, Useful and everything but beacause you thought me what programming actually is. Thank You Very Much.😇😇😇🙂🙂
@sreedarshshaji5951
@sreedarshshaji5951 4 жыл бұрын
Respect. At your age, I was working around how to grow a snake on a nokia.
@the-iter8
@the-iter8 4 жыл бұрын
@@sreedarshshaji5951 Things have changed, at his age I was busy playing cricket
@ronak.wadhwani
@ronak.wadhwani 2 жыл бұрын
I am also 13 and I am also a programmer :)
@dhruvbhartia6655
@dhruvbhartia6655 4 жыл бұрын
Awesome! This made me think that how interesting my life can actually be. Thanks a lot for this video 😊.
@m_abhijit_
@m_abhijit_ 2 жыл бұрын
Thanks for the tutorial 👍🏻
@nixoletas
@nixoletas 2 жыл бұрын
mine only opened chrome but did not type anything on the search bar, can someone help?
@sagarnashikkar9408
@sagarnashikkar9408 3 жыл бұрын
Wow...!!! Thank you Hitesh sir... Leaning Python and loving it a lot...
@MohsinKhan-sq6dq
@MohsinKhan-sq6dq 3 жыл бұрын
That's a great tutorial for a beginner. I'm going to make something really useful after learning this. Thanks a lot!!!
@23omvastre78
@23omvastre78 2 жыл бұрын
What is name of the IDE you are using if it's Visual Studio Code then name the theme and OS of your system also?🤔
@rational_thinking_india
@rational_thinking_india 4 жыл бұрын
Nice Explanation ......done exact same thing but giving error "Exception has occurred: ElementNotInteractableException" on line searchbox.send_keys('Hitesh')
@RyanJohnson
@RyanJohnson 3 жыл бұрын
I don't know why he lies or edits his videos to mislead us, but actually you need to copy "full xpath" instead of "xpath".
@i.hashir7419
@i.hashir7419 3 жыл бұрын
TRY THIS IT WORKS...... from selenium import webdriver from selenium.webdriver.common.keys import Keys driver = webdriver.Chrome() driver.get('youtube.com') # code this|||||||||||||||||||||||| searchbox = driver.find_element_by_name('search_query') searchbox.send_keys('love') searchbox.send_keys(Keys.RETURN) # |||||||||||instead of this||||||||| # searchButton = driver.find_elements_by_xpath('//*[@id="search-icon-legacy"]') # searchButton.click()
@shivambhatt5856
@shivambhatt5856 4 жыл бұрын
Sir the .click() function is not working...It says "element not interactable" Please help me out sir!
@bannytan2689
@bannytan2689 4 жыл бұрын
try another way to choose the element. selenium-python.readthedocs.io/locating-elements.html
@bannytan2689
@bannytan2689 4 жыл бұрын
My error was on the searchbox part Error like this : selenium.common.exceptions.ElementNotInteractableException: Message: element not interactable searchbox = driver.find_element_by_xpath("//input[@id='search'][@type='text']") #So, I changed to this type!! searchbox.send_keys("EDM")
@shivambhatt5856
@shivambhatt5856 4 жыл бұрын
@@bannytan2689 No actually the problem was that the xpath was to be copied for the search "icon" nd not for the button....Try copying the icon xpath....It worked for me! Thanks for the help though!
@shivambhatt5856
@shivambhatt5856 4 жыл бұрын
@@bannytan2689 By the way how did you configure this??
@jithin4549
@jithin4549 4 жыл бұрын
@@shivambhatt5856 try copying the full xpath instead of xpath
@sheebastanley3553
@sheebastanley3553 4 жыл бұрын
hi, I keep getting the error element not interactable when I try to send keys, what is happening?? (my path is fine...)
@milo1269
@milo1269 4 жыл бұрын
Same here
@aco3696
@aco3696 4 жыл бұрын
@@milo1269 try driver.execute_script("arguments[0].click();", yourvariable)
@rssaiganesh
@rssaiganesh 4 жыл бұрын
solved it. Copy full xpath instead of the short one as he had done in the video
@Marvicxd98
@Marvicxd98 4 жыл бұрын
@@rssaiganesh thanks men, that works for me!
@aishwaryamurugappan5138
@aishwaryamurugappan5138 4 жыл бұрын
@@rssaiganesh Thanks dude!
@jd2192
@jd2192 3 жыл бұрын
Could you explain more about what chocolatey is and why i want it? I've never heard of it and i feel you know something I dont
@jaygohil7232
@jaygohil7232 4 жыл бұрын
If you are getting error after installing everything correctly. There can be 2 possibilities: 1. you have wrote 'find_elements_by_xpath' instead of 'find_element_by_xpath'. 2. You must copy full xpath instead of xpath. ( xpath Doesn't work for me and generates error: element not iteractable) BTW anyone of 514 comments have not encountered this error . This means either they know this or they havent tried this in IDE oR Paid comments ( I hope thats not the case).
@coryseazemar7454
@coryseazemar7454 4 жыл бұрын
I also had to use the full xpath, thanks for the recommendation ! As I searched a lot of things n internet to be able to do this small tutorial, I discovered that instead of searchbox.click(), we can use the 2 lines of codes below to get the same effect: from selenium.webdriver.common.keys import Keys searchbox.send_keys(Keys.RETURN) Who knows, this might be useful to someone one day :)
@firstname732
@firstname732 3 жыл бұрын
Is there a way i can use the automation on my main chrome browser?
@robertotarga
@robertotarga 4 жыл бұрын
Hi Hitesh, Thank you for your interesting video about automation with python. Which code editor are you using?
@catloafl
@catloafl 4 жыл бұрын
He is using VS Code with some extensions, and he is running his project through terminal.
@pavanmudhole2065
@pavanmudhole2065 4 жыл бұрын
Today I used this script for interrupting my collage's online test
@joydipdewanjee993
@joydipdewanjee993 4 жыл бұрын
looks like the secret ingredient to increasing millions of views for any video through a simple python program.
@Chapz725
@Chapz725 3 жыл бұрын
If anybody has an issue where there is no inputting into the search box (possibly due to slow internet), you can add the code inside the brackets { # How long you want to wait for delay = 50 # Making a wait variable for the WebDriver wait = WebDriverWait(driver, delay) # It will wait until all elements are on the screen OR it passes the delay time wait.until(EC.visibility_of_all_elements_located) } You can add this right after the line, { driver.get('youtube.com') }
@iamkzonjames
@iamkzonjames 3 жыл бұрын
How can I use/rotate proxies from a .txt file everytime a new webdriver opens up? Can you help me pls. thanks!
@ClaudioSoprano
@ClaudioSoprano 3 жыл бұрын
The command shown didn't work for me, but what did work was: "brew install --cask chromedriver".
@bhagyashreeyede6784
@bhagyashreeyede6784 3 жыл бұрын
Yes I need such kind of videos sir
@kedard1001
@kedard1001 4 жыл бұрын
The pleasure is watching your videos. You are always motivation for me to keep going joyfully in programming world. Thank you sooo much hitesh sir.
@BHAVYAMINESHSHAHBCB
@BHAVYAMINESHSHAHBCB 4 жыл бұрын
I am getting an error and have no idea how to correct it.It goes as follows: Traceback (most recent call last): File "C:/Users/user/PycharmProjects/Automation/KZbin.py", line 5, in search_box = driver.find_element_by_xpath('//*[@id="search"]').send_keys('missing you') File "C:\Users\user\AppData\Local\Programs\Python\Python38-32\lib\site-packages\selenium\webdriver emote\webelement.py", line 477, in send_keys self._execute(Command.SEND_KEYS_TO_ELEMENT, File "C:\Users\user\AppData\Local\Programs\Python\Python38-32\lib\site-packages\selenium\webdriver emote\webelement.py", line 633, in _execute return self._parent.execute(command, params) File "C:\Users\user\AppData\Local\Programs\Python\Python38-32\lib\site-packages\selenium\webdriver emote\webdriver.py", line 321, in execute self.error_handler.check_response(response) File "C:\Users\user\AppData\Local\Programs\Python\Python38-32\lib\site-packages\selenium\webdriver emote\errorhandler.py", line 242, in check_response raise exception_class(message, screen, stacktrace) selenium.common.exceptions.ElementNotInteractableException: Message: element not interactable (Session info: chrome=83.0.4103.97) My code is as follows: from selenium import webdriver driver = webdriver.Chrome() driver.get('www.youtube.com/') search_box = driver.find_element_by_xpath('//*[@id="search"]').send_keys('Hitesh Choudhary') search_button = driver.find_element_by_xpath('//*[@id="search-icon-legacy"]').click() The code is opening youtube in chrome but the further step of typing and clicking the search button is showing the error. Please help
@rssaiganesh
@rssaiganesh 4 жыл бұрын
facing the same error
@rssaiganesh
@rssaiganesh 4 жыл бұрын
solved it. Copy full xpath instead of the short one as he had done in the video
@almuhimen8023
@almuhimen8023 4 жыл бұрын
Hey that is a good looking VS CODE theme. Can I know the name please? Anyone?
@NeoxEntertainment
@NeoxEntertainment 3 жыл бұрын
Awesome video i never used phython before and i guess i need to install some things before i can code like you what do i need to install to start following this video ? :)
@RemoteJuniorJobs
@RemoteJuniorJobs 4 жыл бұрын
Thank you for this amazing tutorial! I was able to perform that action on Google but not KZbin :/ when I try with youtube I always get the error "selenium.common.exceptions.ElementNotInteractableException: Message: element not interactable"
@PavanKalyan-tg1zn
@PavanKalyan-tg1zn 4 жыл бұрын
same here, did you find the solution for the error??
@aaronmanuel6371
@aaronmanuel6371 4 жыл бұрын
copy the full path instead of just x path
@namanxai
@namanxai 4 жыл бұрын
Aaron Dude Thanks Bruh
@prakharsharma4133
@prakharsharma4133 4 жыл бұрын
@@aaronmanuel6371 Thank you so much dude!
@masterinspreadsheet8681
@masterinspreadsheet8681 4 жыл бұрын
Great hitesh sir, we want more videos on that topic and also on xpath
@adityarajchopra3887
@adityarajchopra3887 4 жыл бұрын
When I went to Jaipur last year, I wished I could meet you.......
@priyanshusaraf9495
@priyanshusaraf9495 4 жыл бұрын
Nice to here that he lives in jaipur
@timtom3403
@timtom3403 4 жыл бұрын
sir i have some doubts ,i had watched your python web automation video,i tried to automate google meet,everything is working well except when i join the meet with the join id,i switch to the child node correctly and interacted with evry element,algood,except the alert box on the chld window can not be closed,it says no such alert,the alert requests for cam mic permission whcih in want to dismiss,Stuck for two days? used wait methods too still no luck?any suggestion?
@raviranjanupadhyay1078
@raviranjanupadhyay1078 4 жыл бұрын
kya baat hai hitesh bhaai, aaj kal python k piche haath dho k padd gaye ho :p
@HiteshCodeLab
@HiteshCodeLab 4 жыл бұрын
Hahaha, nothing like that. Since project work is in JS, KZbin helps me in keeping my python skills alive.
@patilsweta15
@patilsweta15 4 жыл бұрын
Thank you so much Hitesh for this video.You are actually making our life easy 😀
@suryamadhav5208
@suryamadhav5208 4 жыл бұрын
Ur happiness and joy in programming is so contentious .
@cats-uk
@cats-uk 3 жыл бұрын
Do you mean “contagious”?
@ashakzahinhasan
@ashakzahinhasan 4 жыл бұрын
after seeing that I made one for my Facebook login... and it's working fine... Thanks... Love from Bangladesh...
@katarzynaprzewocka8430
@katarzynaprzewocka8430 4 жыл бұрын
Ashak Zahin Hasan p 0 PKOl
@ziacassim6794
@ziacassim6794 4 жыл бұрын
How did you get it to fill in the different information in different fields?
@abhijeetgaikwad2748
@abhijeetgaikwad2748 4 жыл бұрын
Your English accent is so good 🔥
@saurabh95mishra
@saurabh95mishra 3 жыл бұрын
cringe it is
@naninani296
@naninani296 3 жыл бұрын
@@saurabh95mishra bruh, its good -_-
@AhmedEmad-wc1rd
@AhmedEmad-wc1rd 4 жыл бұрын
you may get a problem " item isn`t interactable" because search xpath isn`t just one element ... there are many items whose xpath is "search" so you have to make it as a list by using find_elements instead of find_element ** notice the 's' letter** because find_element returns the first element and by using trial `n error find the right index where you`ll input search query I made this job and came out that third element(index:2) is the right one this is my code try it : ------------------------------------------------------------------------------------------------------------------------------------------------- from selenium import webdriver query=input("enter your search query: ") driver= webdriver.Firefox() driver.maximize_window() driver.get('www.youtube.com') (driver.find_element_by_xpath('//*[@id="search-form"]')).click() (driver.find_elements_by_xpath('//*[@id="search"]'))[2].send_keys(query) (driver.find_elements_by_xpath('//*[@id="search-icon-legacy"]'))[0].click() ----------------------------------------------------------------------------------------------------------------------------------------------------- or you can just use youtube search link : "kzbin.info?search_query="+"#search item here"
@athstudent4434
@athstudent4434 3 жыл бұрын
I know this guy sounds pretty corny but the essence of his dialogue seems pretty relatable.
@nijgururajashtagi4673
@nijgururajashtagi4673 4 жыл бұрын
Sir I am having an error it is opening the chrome window but it is neither typing nor it clicking on the search button Please help me out
@10_bhaveshbathija31
@10_bhaveshbathija31 4 жыл бұрын
Change the quotes of xpath from double to single
@michaelmutekeri8770
@michaelmutekeri8770 4 жыл бұрын
same here and its even giving an error from @Bhavesh solution
@nijgururajashtagi4673
@nijgururajashtagi4673 4 жыл бұрын
I got the solution Just replace xpath by full expath
@michaelmutekeri8770
@michaelmutekeri8770 4 жыл бұрын
@@nijgururajashtagi4673 thanx mate, it works like a charm
@yuvraj6279
@yuvraj6279 4 жыл бұрын
Yes we need more videos on automation using phython🤓
@chintuchin5824
@chintuchin5824 2 жыл бұрын
How to fill web form having detail in excel sheet using python ?
@sunnychoudhary4627
@sunnychoudhary4627 4 жыл бұрын
Hey man, what extension do you use so that VS Code autofills that stuff
@cassarpacerobert
@cassarpacerobert 4 жыл бұрын
I think that is Pylint
@hardeepdhery
@hardeepdhery 4 жыл бұрын
I have coded one automation, My question is how can I upload this to my website so that every one can use it like my frnds without having to install python?? Please reply I tried to google it but didn't got answer
@shivamshandilya5059
@shivamshandilya5059 4 жыл бұрын
Use pyinstaller to convert the .py file into .exe then distribute that .exe file
@hardeepdhery
@hardeepdhery 4 жыл бұрын
@@shivamshandilya5059 After coverting that file to .ex it became window application . How can I deploy that application into my wordpress websties ? So that even andriod user can assess it ? If there is any youtube video for that please share link . Thank you
@shivamshandilya5059
@shivamshandilya5059 4 жыл бұрын
@@hardeepdhery selenium doesn't work on android bro
@hardeepdhery
@hardeepdhery 4 жыл бұрын
@@shivamshandilya5059 ohk thank you very much anyways
@9696viktor
@9696viktor 4 жыл бұрын
Hello, My works involves a lot of browser report fill regarding KZbin Copyright Strikes. The problem is that Selenium opens a new browser everytime, and I can not bypass the CAPTCHA window or the login window. I wonder if it's possible to control a browser already opened?
@Fakepilot
@Fakepilot 3 жыл бұрын
I have installed Selenium and chromedriver on Mac, but I get "cannot find Chrome binary" unkown error, when I first run the automation.py script... Hmm? Update: OK, just needed to actually install Chrome. Still, everytime I run the script, a login stops the search and wants me to login. It doesn't remember my KZbin login.
@muhammadshahnawaz3679
@muhammadshahnawaz3679 4 жыл бұрын
You are doing a gr8 job. keep it up
@rishudubey8745
@rishudubey8745 4 жыл бұрын
Please make a complete video tutorial on SELENIUM - Python
@manuelbolivar9791
@manuelbolivar9791 4 жыл бұрын
Great post Hitesh, thanks a lot! Have a question: the line searchbox.send_keys('Hitesh Choudhary') is not working. The error is: selenium.common.exceptions.ElementNotInteractableException: Message: element not interactable. Any help would be appreciated. Thanks.
@xpto1112
@xpto1112 4 жыл бұрын
Hi Manuel. I'm having exactly the same issue here. I've tried several approaches to have it sorted out but no success :( Any luck on your side? Thanks
@xpto1112
@xpto1112 4 жыл бұрын
It worked when I copied the full XPath
@aljox5566
@aljox5566 4 жыл бұрын
@@xpto1112 thanks a ton
@aaronmanuel6371
@aaronmanuel6371 4 жыл бұрын
copy the full path instead of just x path, he is using macs and we are using windows. So copy the full path, worked well for me
@yashpandey350
@yashpandey350 4 жыл бұрын
Your videos prompt me to open it. How to solve this bug..... 🤣🤣🤣
@cliffkwok
@cliffkwok 4 жыл бұрын
I am waiting for this video long time. Can you make a full course on this, so I can automate my daily office job?
@aakashjana6225
@aakashjana6225 4 жыл бұрын
You can definitely automate more things using robotic process automation like UI path
@tarungami2578
@tarungami2578 Жыл бұрын
Getting an error while running the program, the youtube opens and closed within 1-2 second without searching anything and the browser too closed. Please HELP>>>>
@rohan1002
@rohan1002 4 жыл бұрын
You are the real face of professionalism.
@akashanurag7855
@akashanurag7855 4 жыл бұрын
Hi hitesh.. can you explain why we have a message in chrome 'chrome controlled by automation ' how can we remove it. Does it means youtube will allow scraping for the particular ip address
@RyanJohnson
@RyanJohnson 3 жыл бұрын
Why do you use xpath instead of full xpath?
@josecracklol9735
@josecracklol9735 3 жыл бұрын
Yo i got a doubt whenever my automated browser opens it automatically closes, a temporary solution that i found was to use the “time” module and make it sleep for x seconds. Any suggestions on my problem?
@suchithraab8515
@suchithraab8515 3 жыл бұрын
how do we add employee details(photo, role, LinkedIn profile link) from google sheet to wordpress? it should be update something like how companies team pages look. please reply me . I tried searching in google but i didn't get it.
@nagol1493
@nagol1493 4 жыл бұрын
How can I submit a textarea if there is no button. In order to submit you press enter not click a button.... I can't find it anywhere
@techbenchers69
@techbenchers69 4 жыл бұрын
Can we anticipate for a crash course for web automation on KZbin?
@sukhdevsinghchauhan9350
@sukhdevsinghchauhan9350 2 жыл бұрын
Why the find elements by xpath not working it says driver has no such attributes
@canberkgenc1028
@canberkgenc1028 3 жыл бұрын
don't work on windows 10. i've installed all pack which we needed. chromedriver, selenium etc. but when open browser, don't enter any value.
@prajwalbanagar3179
@prajwalbanagar3179 4 жыл бұрын
Sir I dont know why soon after the program is executed, my chrome is getting turned off.. I mean the program is exiting by itself. It says something like 'DevTools listening on ws://127.0.0............ .... GetBluetoothAdapterStaticsActivationFactory failed: Class not registered (0x8004....
@cookbegins7823
@cookbegins7823 4 жыл бұрын
why are you only copying that is unfair
@kenshirofuji3931
@kenshirofuji3931 3 жыл бұрын
Hi Hitesh, I'm having issues with the script. For some reason, my text editor does not recognize that chromedriver is installed. So find_element_by_xpath does not autopopulate. I manually type it in, but when I run the code, only the KZbin page comes up, but the search and click functions do not work. Do you have any thoughts on how to troubleshoot? Thanks this is the error I'm getting: Traceback (most recent call last): File "automation.py", line 7, in searchbox.send_keys('Hitesh Choudhary') File "/usr/local/lib/python3.8/site-packages/selenium/webdriver/remote/webelement.py", line 477, in send_keys self._execute(Command.SEND_KEYS_TO_ELEMENT, File "/usr/local/lib/python3.8/site-packages/selenium/webdriver/remote/webelement.py", line 633, in _execute return self._parent.execute(command, params) File "/usr/local/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 321, in execute self.error_handler.check_response(response) File "/usr/local/lib/python3.8/site-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response raise exception_class(message, screen, stacktrace) selenium.common.exceptions.ElementNotInteractableException: Message: element not interactable (Session info: chrome=86.0.4240.183)
@bannytan2689
@bannytan2689 4 жыл бұрын
If error like this : selenium.common.exceptions.ElementNotInteractableException: Message: element not interactable searchbox = driver.find_element_by_xpath("//input[@id='search'][@type='text']") searchbox.send_keys("EDM") version:ChromeDriver 81.0.4044.69
@nikethanrai9100
@nikethanrai9100 3 жыл бұрын
Hi, on running the file..the browser opens and immediately closes. What do I do
@mohitarora1701
@mohitarora1701 4 жыл бұрын
can we scrap own whatsapp contact using beautiful soup without seleium or any other just using beautfulsoup, webbrowser and requests
@kakilan995
@kakilan995 4 жыл бұрын
Hi Hitesh thanks for a video. while trying the same in windows am getting below error. Could you please help on this. raise WebDriverException( selenium.common.exceptions.WebDriverException: Message: 'chromedriver' executable needs to be in PATH. Please see sites.google.com/a/chromium.org/chromedriver/home code : from selenium import webdriver driver = webdriver.Chrome() driver.get('www.google.com') installed selenium using pip and chromedriver with chocolatey
@praveen544com
@praveen544com 4 жыл бұрын
send_keys command returning error Exception has occurred: ElementNotInteractableException Message: element not interactable (Session info: chrome=86.0.4240.75)
The Biggest Mistake Beginners Make When Web Scraping
10:21
John Watson Rooney
Рет қаралды 116 М.
Top Developer productivity tools in 2024
13:31
Hitesh Choudhary
Рет қаралды 21 М.
How Strong is Tin Foil? 💪
00:26
Preston
Рет қаралды 138 МЛН
Minecraft Creeper Family is back! #minecraft #funny #memes
00:26
Do you choose Inside Out 2 or The Amazing World of Gumball? 🤔
00:19
БЕЛКА СЬЕЛА КОТЕНКА?#cat
00:13
Лайки Like
Рет қаралды 2,8 МЛН
Web Automation using Python To Fill out A Form
16:37
Rishab Kattimani
Рет қаралды 157 М.
Automate your job with Python
6:07
John Watson Rooney
Рет қаралды 410 М.
Python Selenium Tutorial #1 - Web Scraping, Bots & Testing
11:41
Tech With Tim
Рет қаралды 1,5 МЛН
Wordpress Open Source drama
15:46
Hitesh Choudhary
Рет қаралды 29 М.
If __name__ == "__main__" for Python Developers
8:47
Python Simplified
Рет қаралды 405 М.
Automate Boring Office Tasks with ChatGPT and Python
10:06
Coding Is Fun
Рет қаралды 520 М.
You deserve to know about Astro as JS framework
9:18
Hitesh Choudhary
Рет қаралды 28 М.
Learn web deployment in just 1 video
2:10:56
Hitesh Choudhary
Рет қаралды 18 М.
Top 18 Most Useful Python Modules
10:50
Tech With Tim
Рет қаралды 930 М.
How Strong is Tin Foil? 💪
00:26
Preston
Рет қаралды 138 МЛН