webdriver.chome() not callable or selenium.webdriver.chrome’ has no attribute ‘get’

I try to open a web page but failed in either case. I got the same error under both the Phycharm and PyhIDE. Please help

case (a)

line1: from selenium import webdriver
line2: web = webdriver.chrome()
line3 web.get("www.google.com")

Traceback (most recent call last):

File "C:UserskjPycharmProjectsNHSNHS.py", line 2, in <module>
    web = webdriver.chrome()
TypeError: 'module' object is not callable

case (b)

line1: from selenium import webdriver
line2: web = webdriver.chrome("c:pythonchromedriver.exe")
line3 web.get("www.google.com")

Traceback (most recent call last):

  File "C:UserskjPycharmProjectsNHSNHS.py", line 2, in <module>
    web = webdriver.chrome()
TypeError: 'module' object is not callable

case(c)

line1: from selenium import webdriver
line2: web = webdriver.chrome
line3: web.get("www.google.com")

Traceback (most recent call last):

  File "C:UserskjPycharmProjectsNHSNHS.py", line 3, in <module>
    web.get("www.google.com")
AttributeError: module 'selenium.webdriver.chrome' has no attribute 'get'

Read more here: Source link