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

建议在make_snapshot里面加入可配置chromeDriver路径 #8

Open
PixelChen24 opened this issue Sep 7, 2024 · 0 comments
Open

Comments

@PixelChen24
Copy link

如果用户需要手动指定chromeDriver的路径(就像在selenium里面那样),那么我觉得需要提供一个参数来接收这个路径,并传递给get_chrome_driver()函数,在get_chrome_driver()中利用提供的路径创建一个service,将这个service和options一起传入webDrive.Chrome()中,从而正确配置chromeDriver路径

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

No branches or pull requests

1 participant