Skip to content
← Back to Community
Chrome Driver
Profile icon
Ashenguard

Is there anyway to use chrome driver?

Voters
Profile icon
CamdenKachilo
Profile icon
KirillRomanov4
Profile icon
trodsfiu8239h8
Profile icon
KarlMarxReal
Profile icon
Ashenguard
Comments
hotnewtop
Profile icon
elonmaks

Hi, @Ashenguard . Please, install selenium module with pip and import the webdriver from the selenium.

Just like this:

pip install selenium

and second you should do this:

from selenium import webdriver

Your code will look like this:

driver = webdriver.Chrome()
driver.get('https://www.repl.it/')
print(driver.title)
time.sleep(5)
driver.quit()

It's simply example, you can write you own variant.

Profile icon
StudentLevi

@elonmaks using python or pygame?

Profile icon
dragonhunter1

Uhhh, T does not work
@elonmaks