运行chrome驱动程序时获取“TypeError:“模块”对象不可调用”

2024-04-16 15:05:03 发布

您现在位置:Python中文网/ 问答频道 /正文

每当我运行此代码时:

browser = webdriver.chrome('/Users/hamudsadek/Downloads/chromedriver')

我明白了

Traceback (most recent call last):
  File "<input>", line 1, in <module>
TypeError: 'module' object is not callable

有人能帮忙吗