Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No need to download webdriver #91

Open
nitinkumar30 opened this issue Sep 24, 2022 · 7 comments
Open

No need to download webdriver #91

nitinkumar30 opened this issue Sep 24, 2022 · 7 comments

Comments

@nitinkumar30
Copy link

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
Copy link
Owner

Interesting - Will fix this in next release.

@donheshanthaka
Copy link

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

@nitinkumar30
Copy link
Author

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
Copy link
Owner

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
Copy link

Its okay, no worries

@nitinkumar30
Copy link
Author

Pull request already raised #92

@shauryauppal
Copy link
Owner

shauryauppal commented Oct 11, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants