shauryauppal / PyWhatsapp

Python Automation using selenium & Scheduling of messages and media
https://www.linkedin.com/in/shaurya-uppal
Apache License 2.0
455 stars 159 forks source link

No need to download webdriver #91

Open nitinkumar30 opened 1 year ago

nitinkumar30 commented 1 year ago

I saw you're using chromedriver manually. You can use the code below which download each time you run the code & will be kept under cache until it expires. You don't need to manually download chromedriver each time & put it in the folder. You need to install a module for it.

import chromedriver_autoinstaller

opt = webdriver.ChromeOptions()
opt.add_argument("--start-maximized")
chromedriver_autoinstaller.install()
driver = webdriver.Chrome(options=opt)

For geckodriver, import & use geckodriver_autoinstaller.

shauryauppal commented 1 year ago

Interesting - Will fix this in next release.

donheshanthaka commented 1 year ago

Hey there, can you kindly assign me this issue, i would be happy to implement this for you.

nitinkumar30 commented 1 year ago

sure, would be happy more if you tag with hacktoberfest22 tag & assign me this if you're not going to implement by your own.

shauryauppal commented 1 year ago

Hi @donheshanthaka - I have assigned this to @nitinkumar30 as he reported this at first. I give him the first chance, so assigned it to him.

donheshanthaka commented 1 year ago

Its okay, no worries

nitinkumar30 commented 1 year ago

Pull request already raised #92

shauryauppal commented 1 year ago

Sure I will add

On Wed, Sep 28, 2022 at 1:53 PM Nitin Kumar @.***> wrote:

sure, would be happy more if you tag with hacktoberfest22 tag & assign me this if you're not going to implement by your own.

— Reply to this email directly, view it on GitHub https://github.com/shauryauppal/PyWhatsapp/issues/91#issuecomment-1260558430, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE3FQZIPA4IBTR5JOL5PNO3WAP6A5ANCNFSM6AAAAAAQUVQGDM . You are receiving this because you commented.Message ID: @.***>