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

Mac环境下运行需要修改一下代码 #4

Open
UnderMistake opened this issue May 23, 2019 · 1 comment
Open

Mac环境下运行需要修改一下代码 #4

UnderMistake opened this issue May 23, 2019 · 1 comment

Comments

@UnderMistake
Copy link

from platform import system

os = system().lower()
if 'windows' in os:
    chromedriver = r"driver/chromedriver.exe"
    driver = webdriver.Chrome(chromedriver)
driver = webdriver.Chrome()
@TinaryTree
Copy link
Owner

感谢,我没有mac环境无法测试

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

2 participants