snapshot-selenium icon indicating copy to clipboard operation
snapshot-selenium copied to clipboard

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

Open PixelChen24 opened this issue 5 months ago • 0 comments

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

PixelChen24 avatar Sep 07 '24 13:09 PixelChen24