Al Sweigart, "Automating Your Browser and Desktop Apps", PyBay2016

แชร์
ฝัง
  • เผยแพร่เมื่อ 30 ต.ค. 2024

ความคิดเห็น • 227

  • @WordbreweryLanguages
    @WordbreweryLanguages 7 ปีที่แล้ว +122

    I highly recommend his book. It got me back into programming after a 17-year hiatus.

    • @hongren99
      @hongren99 7 ปีที่แล้ว +2

      You encourage me as well. I felt dummy on programming.

    • @percys8774
      @percys8774 ปีที่แล้ว +3

      For us beginners watching in 2022, at the 6:30 minute mark the selenium commands are out of date. It now looks like: driver.find_element(By.ID," "). Here's a recent short tutorial video with the new commands: th-cam.com/video/p24C_0d8FcQ/w-d-xo.html&t

  • @davidkayode2737
    @davidkayode2737 5 ปีที่แล้ว +26

    This is my very humble teacher.
    I leant virtually everything I know in python from him.

  • @mkhpd8158
    @mkhpd8158 4 ปีที่แล้ว +8

    I've just built a program to extract FX data automatically from MT5 using this PyAutoGUI. It took about 2 hours to write the code as there are no keyboard short cuts in the popup window. Works like a charm. It 'automates the boring stuff', as I need to do this task monthly! thanks Al

  • @inspired4more
    @inspired4more 2 ปีที่แล้ว +3

    My very first programming class used one of his books as a textbook called "Invent Your Own Computer Games with Python." I just recently started using pyautogui and literally just found out he also wrote it. Pretty low-key humble guy.

  • @omollofredrick
    @omollofredrick 5 ปีที่แล้ว +9

    I owe this man everything... I learnt how to code from his book, 'Invent Your Own Games With Python' back when I was a kid.

  • @coolmcdude
    @coolmcdude 2 ปีที่แล้ว +4

    Great video. After I watched this I got the motivation to really dig in to both selenium and pyautogui and I have already automated so much.

  • @imtiazshahed944
    @imtiazshahed944 5 ปีที่แล้ว +4

    I used to hate coding before reading Automate Boring stuff with Python, it was fun though and Now I am watching videos on Selenium!! thank you, Mr. Albert, for making fun from boring bits!!

  • @FW-jq1ox
    @FW-jq1ox 3 ปีที่แล้ว +4

    Awesome guy. I love people that legitimately want to help others learn with few or no strings attached.

  • @WinterSnowism
    @WinterSnowism 7 ปีที่แล้ว +193

    This man's voice is really soothing.

    • @ronaldokun
      @ronaldokun 6 ปีที่แล้ว +3

      I thought the same too.

    • @darkdevil2720
      @darkdevil2720 6 ปีที่แล้ว +3

      Me too!

    • @mr_jacklu8014
      @mr_jacklu8014 4 ปีที่แล้ว +3

      It makes me feel good about life.

  • @shanepython
    @shanepython 6 ปีที่แล้ว +2

    Great book. Great talk. What kind of person "thumbs down" this video? I hope you choose to pass on more of your knowledge in such a manner. You are a very good instructor. Thank you!

  • @KowboyUSA
    @KowboyUSA 6 ปีที่แล้ว +22

    "Hi, I'm AI." Whoa! That's some good AI. At first I was convinced you were an organic human.

  • @Mikey-nh9jf
    @Mikey-nh9jf 5 ปีที่แล้ว +5

    Al Sweigart, Hero. Thank you for writing such an awesome book(s)!

  • @0x656e
    @0x656e 4 ปีที่แล้ว +4

    I finished your book today it was one of the greatest book I've ever read, Thank you for this amazing book.❤❤❤

  • @yoericktv9610
    @yoericktv9610 3 ปีที่แล้ว +2

    Al thank you so much for making PyAutoGui. You're a real hero.

  • @jeffreyl9829
    @jeffreyl9829 6 ปีที่แล้ว +110

    AI is getting me really interested in learning Python.

    • @riazr88
      @riazr88 5 ปีที่แล้ว +11

      Look I'm not the one to write replies or even reviews, but I can't help myself after discovering this man and reading your comment. I was on /r/python on reddit, looking into what resources were out there to start learning. I came across MITs OCW program and figured what a blessing...and MIT education for free. I went through about 3-4 lecture's before going back on the subreddit and came across someone mentioning his book "How to automate the boring stuff."
      If you've ever asked yourself where to get started on learning how to code, sign up for his course on Udemy. It's $10 if you use his discount code on www.automatetheboringstuff.com. If you are unable to afford that, you can read the text for free. He does move very quickly through the video's but he makes it SO easy to understand. What took me a week with the MIT course, I learned in a few hours with Al.
      I am amazed that this man is not the face of coding in general. Do yourself a favor this year and sign up, you will get lifetime access. I started today and am already halfway through his course. I never would have thought it was this easy nor would I be this intrigued. Thanks, Al.

    • @falseego99
      @falseego99 4 ปีที่แล้ว +2

      python = plain english

    • @unlockwithjsr
      @unlockwithjsr 4 ปีที่แล้ว

      It's the reason I program in Python

    • @punyashlokpurohit9734
      @punyashlokpurohit9734 4 ปีที่แล้ว

      Same

  • @twnfaem
    @twnfaem 4 ปีที่แล้ว

    I was trying to do some desktop automation with tools like pywinauto... It was h a r d. With pyautogui I achieved what I needed literally within 5 minutes... Thanks Al!

  • @tannerbarcelos6880
    @tannerbarcelos6880 4 ปีที่แล้ว +3

    I love python so much. So much to learn in it yet so much fun to learn. It’s simple, sweet, efficient and fun to use. I was so interested in front end but now I’m basically sold on being a backend with python or an engineer in general rocking python in my career

  • @skimpylemon8034
    @skimpylemon8034 2 ปีที่แล้ว

    I would highly recommend his book, I bought it and its simple to follow and read.

  • @bopon4090
    @bopon4090 4 ปีที่แล้ว

    this is the video I am searching for years

  • @newleontube
    @newleontube 7 ปีที่แล้ว +11

    Great talk. There is an interesting live demo using MS Paint at time 17:30. Do not miss it.

  • @Acephotoandvideo
    @Acephotoandvideo 5 ปีที่แล้ว +2

    Thank for the great info, I'm just learning Python and found this and got it working. I'll be looking at your book.

  • @damiangrobler9135
    @damiangrobler9135 7 ปีที่แล้ว +2

    Instructions for installing, for those who are beginning with pyautogui: Go to pypi.python.org/pypi and search for "pyautogui" from there download "PyAutoGUI-0.9.36.tar" then (if not already) drag to download files (easy way for me)from the left side of file explorer, then Left shift-right click on downloads then click on "open command window here" then type where you have your python file (bear in mind that it only works well on python versions that are 3.4 or lower) e.g C:/python27/Scripts/pip install py(press tab) then once the full name pops up ("PyAutoGUI-0.9.36.tar") press "Enter" on your key board, it should be installing/downloading from there(it usually takes a minute or two on a slow system)
    This is for windows but other users should get an idea of what they should do with this info.

  • @fy1000000
    @fy1000000 4 ปีที่แล้ว +3

    Al, you are an amazing teacher! Thank you.

  • @pimpirisnais
    @pimpirisnais 5 ปีที่แล้ว +1

    Thanks, I really enjoyed this talk, a remember me to have fun and remove from my mind the cliché of "everybody should learn to code".

  • @MarkJay
    @MarkJay 7 ปีที่แล้ว +1

    super cool talk. Selenium looks awesome. will be trying it out. Thanks!

  • @stephaniehartland6526
    @stephaniehartland6526 7 ปีที่แล้ว +3

    Nice talk. As someone that works in QA my advice for anyone serious about automation would be to use or create your own framework. Simply automating a web browser with a few scripts is kinda...pointless really. And very tedious. I've never needed to automate a web browser for anything other than testing so perhaps I'm missing something here.
    If you're interested in web testing and automation I'd recommend researching the Page Object Pattern.

    • @stephenjackson5628
      @stephenjackson5628 2 ปีที่แล้ว

      Here's where you could automate personal web browsing:
      If you bank online and want to monitor your books without doing the majority of the work, you can create a file structure that would have an encryption key for your passwords to your bank accounts, that would then go to the different locations, find your expenses and plug them into a spreadsheet, providing an expense report for the month.

  • @michaelmclean2363
    @michaelmclean2363 2 ปีที่แล้ว

    I liek the attention to detail as well. Its my favourite part.

  • @braxtonec
    @braxtonec 4 ปีที่แล้ว

    Great presentation! Live demo rockstar! I read the book as an intro. Very well written! Thanks!

  • @artaway6647
    @artaway6647 5 ปีที่แล้ว +3

    Wow! he wrote the Automate the Boring Stuff! That's my favorite book, I don't think I'd be here if I didn't read that book haha.

  • @veganath
    @veganath 6 ปีที่แล้ว +1

    I use AutoIt to automate the boring stuff, but only for Windows and it can be used to scrape stuff from the internet as well, not to be underestimated one can also create fully fledged GUI's. To avoid mouse move/click and sorcerers apprentice phenomena autoit is able to locate Windows program controls and programmatically activate them.

  • @Zero11_ss
    @Zero11_ss 5 ปีที่แล้ว +7

    Thanks for the free book, i lost my job so free stuff helps ^-^

  • @davidkayode2737
    @davidkayode2737 5 ปีที่แล้ว +1

    Greatest programming teacher.

  • @ronaldokun
    @ronaldokun 6 ปีที่แล้ว

    AI is a great teacher. He teaches awesome programming to everyone, most wouldn't even be programming if it wasn't for him.

  • @krishnanshudey3831
    @krishnanshudey3831 6 ปีที่แล้ว +1

    U r awesome sir love that. Tnx for those all u done with python using selenium and pyautogui. It's help me a lot to get deep into python. Make more videos related this. I'll be greatful to you.

  • @connectingthedots5987
    @connectingthedots5987 3 ปีที่แล้ว

    Bought his book. Have to start reading it.

  • @vijayrajput3297
    @vijayrajput3297 3 ปีที่แล้ว

    I also learnt python from this book..
    🤖
    And today's I'm a python Django developer
    .

  • @devon5694
    @devon5694 7 ปีที่แล้ว +41

    how did no one laugh at 1:58?

    • @rachaelcook1346
      @rachaelcook1346 5 ปีที่แล้ว

      @Bigtombowski :)

    • @user-dj6oi5hw3m
      @user-dj6oi5hw3m 4 ปีที่แล้ว +1

      the nerds were trying to fix the issue

    • @tomharner83
      @tomharner83 4 ปีที่แล้ว +1

      I don't understand how nobody laughed at 0:28

    • @BoxLaneProductions
      @BoxLaneProductions 4 ปีที่แล้ว

      because they we disappointed it didnt work and he was poorly prepared

  • @jomarnavarro7
    @jomarnavarro7 8 ปีที่แล้ว +8

    very nice tool, but there's pywinauto that works directly on win controls.

    • @EuanBuch
      @EuanBuch 7 ปีที่แล้ว +6

      PYwinauto is windows only. He wanted something cross platform.

  • @thequiethunt3352
    @thequiethunt3352 7 ปีที่แล้ว +4

    Al is an excellent teacher!

  • @davetaylor7664
    @davetaylor7664 3 ปีที่แล้ว

    Started watching this & I'm reading the book without realising this is the author!

  • @techstacker5361
    @techstacker5361 7 ปีที่แล้ว +8

    Great talk!

  • @dazhouliu9437
    @dazhouliu9437 5 ปีที่แล้ว

    Great talk. A very interesting presentation.

  • @magica2z
    @magica2z 6 ปีที่แล้ว +16

    Your book is awesome.,.

  • @willman18696
    @willman18696 ปีที่แล้ว

    protect this guy at all costs!

  • @PradeepChauhan17
    @PradeepChauhan17 6 ปีที่แล้ว

    Wow! I have used selenium, but this is awesome stuff! Thanks!

  • @manjunagoudahombaradi4190
    @manjunagoudahombaradi4190 4 ปีที่แล้ว

    Just felt happy by seeing below letter on your laptop. There is meaning for below letters.
    ಠ_ಠ. ಠ is one of the Consonant letter in Kannada Language.

  • @sameerk12982
    @sameerk12982 6 ปีที่แล้ว

    Thank you very much for sharing such an informative and interesting video.

  • @sakshamkumar9191
    @sakshamkumar9191 3 ปีที่แล้ว

    Amazing module! Al is awesome!!

  • @devloper4474
    @devloper4474 5 ปีที่แล้ว

    I read the book and it is really a great python book, beginners should read it

  • @raihanakram530
    @raihanakram530 6 ปีที่แล้ว +6

    "Selenium" sounds like a "group-2 element"
    Beryllium-Magnesium-Calcium-Strontium-Barium-Radium
    Selenium...

    • @preyasurakshit3405
      @preyasurakshit3405 4 ปีที่แล้ว

      Look at the element with atomic number 34 on the periodic table

  • @adamhollings7957
    @adamhollings7957 4 ปีที่แล้ว

    Great demos

  • @roberttillotson4889
    @roberttillotson4889 4 ปีที่แล้ว

    Good presentation. You've made some great stuff. I've experimented a bit with pyautogui and I wanted to know if with displayMousePosition is it supposed to return Nan for the RGB values if you use it with extended screens in a two monitor setup?

  • @perryshos8439
    @perryshos8439 7 ปีที่แล้ว

    Firefox 45 and Selenium 2.53.1 will work with auto-install. Took me two days to figure it out! Windows 10 Python Firefox.

  • @oliviageorge464
    @oliviageorge464 4 ปีที่แล้ว

    Thank you Al for your videos, This was very helpful

  • @Officialjadenwilliams
    @Officialjadenwilliams 6 ปีที่แล้ว +2

    I have installed Python and PIP correctly, all showing up in the CMD, updated and everything. Installed selenium using PIP, fully set and everything, even in the python folder, it's showing up.
    Though, after all of that, the python script does not run properly and shows this as the error message. Any help would be appreciated!
    Code >
    from selenium import webdriver
    driver = webdriver.Chrome()
    Error Message >
    Traceback (most recent call last):
    File "C:/Users/MyName/PycharmProjects/Test project/Test Script Selenium.py", line 1, in
    from selenium import webdriver
    ModuleNotFoundError: No module named 'selenium'

    • @thomasb2865
      @thomasb2865 6 ปีที่แล้ว

      I assume that you are running Python 3.x
      As a mac user, I know that any command where you want to affect Python 3.x instead of saying python you say python3.
      So try running pip3 install selenium.

  • @RomuloMagalhaesAutoTOPO
    @RomuloMagalhaesAutoTOPO 4 ปีที่แล้ว

    Clear, concise, simple. Thank you.

  • @aasutossh
    @aasutossh 5 ปีที่แล้ว

    Beautiful talk.

  • @anileapen9813
    @anileapen9813 3 ปีที่แล้ว

    Very good video. I wanted to use Pyautogui to automate my desktop application. It works fine with pyautogui. I wanted to know how I can get the test results logged to a report or something with a Pass or Fail. I also like to know whether I can use a Test Framework for this using pyautogui.
    Thanks

  • @voidskiz
    @voidskiz 7 ปีที่แล้ว +1

    how would you search for certain information in a page source with sellenium? like an url

  • @jeanchristophe15
    @jeanchristophe15 3 ปีที่แล้ว

    Thank you Al!

  • @crenshawik
    @crenshawik 4 ปีที่แล้ว

    nice video mate. thoroughly enjoyed it as well as your udemy course.

  • @benhallo1553
    @benhallo1553 3 ปีที่แล้ว

    Is Selenium a bad idea for long term progress as a programmer since it shields you from learning harder stuff?

  • @MaxGoddur
    @MaxGoddur 7 ปีที่แล้ว

    Bought Al's books for the simplicity and audience he addresses which is me, hobbyist. Don't want to be a programmer just looking for tools to make my life simpler and not in need of a semester to remember how I did something.
    My ideas are easy for me to formulate finding out if there is a way to carry out such an idea not so much.
    I am constantly storing away nuggets (URLs) for my review or as reference material, unfortunately, it is rather a labor-intensive to find them based on a simple search (of course unless I have missed some rudimentary method for doing so).
    There are times when I can not remember the names of the URL's in question but only basic parts of the subject matter embedded in the reference material.
    How does one go about this search with in ones bookmarks(where my nuggets reside)?

  • @escheewloo
    @escheewloo 6 ปีที่แล้ว +6

    Is it actually pronounced "goo-ee"? I always pronounce it "gwee". Or just "jee, yoo, ai", if i'm trying to sound technical.

    • @eleos5
      @eleos5 4 ปีที่แล้ว

      It's "jee yoo ai" but people call it "goo ee" because it's shorter and easier to say

  • @MaNoJKuMaR-gv4ex
    @MaNoJKuMaR-gv4ex 7 ปีที่แล้ว +1

    How to install PythonAutoGui in Python 3+ (Anaconda environment)?

  • @ardram5296
    @ardram5296 6 ปีที่แล้ว

    DoEs pyautogui can read values from desktop app based on objects available in app ?

  • @PerroConChaleco
    @PerroConChaleco 5 ปีที่แล้ว

    can you use pyautogui with full screen applications?

  • @jagadeeshakanihal
    @jagadeeshakanihal 6 ปีที่แล้ว +2

    learnt a lot. really nice talk.

  • @brijyotchawla3247
    @brijyotchawla3247 5 ปีที่แล้ว

    PyAutoGui supports .Net applications ?

  • @pahkapah9520
    @pahkapah9520 4 ปีที่แล้ว

    what happens if i resize the apps afterward, can it still detect the button that i screenshot before?

  • @mohamedatef9890
    @mohamedatef9890 3 ปีที่แล้ว

    is it good if i watch in now in 2021 ?

  • @Charizm0
    @Charizm0 4 ปีที่แล้ว

    How to use it with google docs?

  • @kitbodeephongkasem909
    @kitbodeephongkasem909 4 ปีที่แล้ว

    If. Check. Light blink in web game. How to check?

  • @aleksagordic9593
    @aleksagordic9593 5 ปีที่แล้ว

    Nice talk! Thanks!

  • @rajeshn8533
    @rajeshn8533 6 ปีที่แล้ว

    I done Webgui automation on 2014 it has been uploaded in TH-cam. Am expecting more and more flexible way.

  • @pritamsaha241
    @pritamsaha241 5 ปีที่แล้ว

    Hi, i have been playing around with pyautogui and selenium with python and also completed an automation project for sap but i could not figure out as to how run the pyautogui script in background, that is I am unable to do some other activity while the script runs. Is there any solution?

  • @mikeph712
    @mikeph712 7 ปีที่แล้ว +1

    Now i can practice programming while playing games! will flash games :(

  • @dailychinese1396
    @dailychinese1396 4 ปีที่แล้ว

    what should I do. to install them? this " pip install pyautogui" and " pop install selenium" dont work

    • @dailychinese1396
      @dailychinese1396 4 ปีที่แล้ว

      @@advaitvariyar thank you. I installed pip test and it works now

  • @lakhwinder108
    @lakhwinder108 6 ปีที่แล้ว

    Grate demo by you. Can you resolve auto search multiple, word from checklist and highlight in word. And reverse check whole document against list and highlight in list. This will be most useful for researchers. Fro cross check this task manually takes many days for 500 pages. Your help will be much valuable to me and to the world.

    • @leestons
      @leestons 4 ปีที่แล้ว

      Do it yourself.

  • @brethagen7776
    @brethagen7776 6 ปีที่แล้ว +1

    Says your book is freely available? But I only see buy buttons on there

    • @EricVsGamingChannel
      @EricVsGamingChannel 6 ปีที่แล้ว +1

      Bret Hagen It is. Just look up "Automate the boring stuff with python PDF" and it'll show up

    • @marcodasilva1403
      @marcodasilva1403 6 ปีที่แล้ว +2

      automatetheboringstuff.com/

  • @rrrr-nu8ct
    @rrrr-nu8ct 4 ปีที่แล้ว

    does puautogui still work? i just tried to do the thing he shows off at 14:50 but the pip install of pyautogui seems to be broken

  • @lancetschirhart7676
    @lancetschirhart7676 4 ปีที่แล้ว

    I love his wallpaper. Bet he took that picture himself.

  • @shyamjs3586
    @shyamjs3586 5 ปีที่แล้ว

    Hii..sir how to work with function keys(f1,f2...etc)
    Please help me out with this.

  • @iGladyator
    @iGladyator 6 ปีที่แล้ว

    Is there way to open paint by code, instead of manually opening it?

    • @daggawagga
      @daggawagga 6 ปีที่แล้ว +1

      You can use an os.system call or a subprocess.call. Languages other than Python usually have similar ways to do system calls.

  • @torque6389
    @torque6389 5 ปีที่แล้ว

    Al is great!

  • @aphadke77
    @aphadke77 4 ปีที่แล้ว

    On my Mac , how to get the selenium installed? what IDE to use?

    • @petswolrd280
      @petswolrd280 4 ปีที่แล้ว

      U can use python idle terminal....
      Just type.. pip3 install selenium for Mac

  • @Altcapball
    @Altcapball 6 ปีที่แล้ว +1

    > bots are evil and terrible and need to be stopped > bots are integral to the internet.

  • @jonathanfriz4410
    @jonathanfriz4410 3 ปีที่แล้ว

    ...I' really like the attention to detail that programming required", and miss type Like as Liek, what a legend!!, pretty sure was on purpose.

  • @VladSuperKat
    @VladSuperKat 4 ปีที่แล้ว

    I think it can be usefull to trace pictures in illustrator from normal drawings using OPEN CV :D

  • @sssh024
    @sssh024 6 ปีที่แล้ว

    Another Great GUI Programming tool:Sikuli

  • @berfbuggers1333
    @berfbuggers1333 5 ปีที่แล้ว +1

    No matter what else was said, I can't get over how he pronounced it heighth at 23:43

  • @wackowyatt00
    @wackowyatt00 6 ปีที่แล้ว

    If you Ctrl + Alt + Del then it will also stop the program, so in a way this is a hot key to stop all pyautogui programs too.

  • @kuybrochebrey1153
    @kuybrochebrey1153 7 ปีที่แล้ว

    I Like your video. Thanks you so much.

  • @jackfrasiercomedy5942
    @jackfrasiercomedy5942 6 ปีที่แล้ว +1

    Now I'm curious as to what the thing is that he keeps "not showing".

    • @daggawagga
      @daggawagga 6 ปีที่แล้ว

      Probably some helpful Windows helper such as Clippy.

    • @jackfrasiercomedy5942
      @jackfrasiercomedy5942 6 ปีที่แล้ว +1

      "He that shall not be named"

  • @bluemushroom415
    @bluemushroom415 6 ปีที่แล้ว

    How do you webdriver.Firefox without getting 10 million lines of error code?

  • @bmkrissh8714
    @bmkrissh8714 7 ปีที่แล้ว +1

    To load the webdrivers, I've installed selenium from PIP. It gets successfully installed
    C:\Users\U0172087>pip show selenium
    Name: selenium
    Version: 3.0.2
    Summary: Python bindings for Selenium
    Home-page: github.com/SeleniumHQ/selenium/
    Author: UNKNOWN
    Author-email: UNKNOWN
    License: UNKNOWN
    Location: c:\users\u0172087\appdata\local\programs\python\python36\lib\site-packages
    Requires:
    also installed virtualenv [Not sure if it was needed soon after pip selenium install]
    C:\Users\U0172087>pip show virtualenv
    Name: virtualenv
    Version: 15.1.0
    Summary: Virtual Python Environment builder
    Home-page: virtualenv.pypa.io/
    Author: Jannis Leidel, Carl Meyer and Brian Rosner
    Author-email: python-virtualenv@groups.google.com
    License: MIT
    Location: c:\users\u0172087\appdata\local\programs\python\python36\lib\site-packages
    Requires:
    Got Error after import webdriver command on Python IDLE 3.6 version
    >>> from selenium import webdriver
    >>> browser = webdriver.Chrome()
    Traceback (most recent call last):
    File "C:\Users\U0172087\AppData\Local\Programs\Python\Python36\lib\site-packages\selenium\webdriver\common\service.py", line 74, in start
    stdout=self.log_file, stderr=self.log_file)
    File "C:\Users\U0172087\AppData\Local\Programs\Python\Python36\lib\subprocess.py", line 707, in __init__
    restore_signals, start_new_session)
    File "C:\Users\U0172087\AppData\Local\Programs\Python\Python36\lib\subprocess.py", line 990, in _execute_child
    startupinfo)
    FileNotFoundError: [WinError 2] The system cannot find the file specified
    During handling of the above exception, another exception occurred:
    Traceback (most recent call last):
    File "", line 1, in
    browser = webdriver.Chrome()
    File "C:\Users\U0172087\AppData\Local\Programs\Python\Python36\lib\site-packages\selenium\webdriver\chrome\webdriver.py", line 62, in __init__
    self.service.start()
    File "C:\Users\U0172087\AppData\Local\Programs\Python\Python36\lib\site-packages\selenium\webdriver\common\service.py", line 81, in start
    os.path.basename(self.path), self.start_error_message)
    selenium.common.exceptions.WebDriverException: Message: 'chromedriver' executable needs to be in PATH. Please see sites.google.com/a/chromium.org/chromedriver/home
    Can someone point what is wrong here?
    THe location C:\Users\U0172087\AppData\Local\Programs\Python\Python36\Lib\site-packages\selenium\webdriver\chrome
    has ' _init_.py, options.py, remote_connection.py, service.py and webdriver.py plus _pycache_ folders
    Thanks

    • @hasanfaraaz8048
      @hasanfaraaz8048 7 ปีที่แล้ว +1

      I think you need to download the chrome driver & pass the path in webdriver.Chrome("path here"). Note that chrome driver extension is not .py

    • @swinglishinnovation9649
      @swinglishinnovation9649 7 ปีที่แล้ว

      you could use urllib3

  • @sangitasable6919
    @sangitasable6919 5 ปีที่แล้ว +1

    I wanted to block web sites on chrome after analyzing the content of web page by python
    it is possible

  • @mrkhan-rl2zo
    @mrkhan-rl2zo 6 ปีที่แล้ว

    I got an WebDriverException how to fix it

  • @builder481
    @builder481 3 ปีที่แล้ว +2

    Hello pyAutoGui wrote this comment for me

  • @santoshchoudhary908
    @santoshchoudhary908 6 ปีที่แล้ว +2

    somehow webdriver.Chrome() doesnot work, undefined Chromedriver. Even if i add path to chromedriver it does not work.

    • @WisomofHal
      @WisomofHal 5 ปีที่แล้ว

      i sometimes forget to browser. get( " ")