Skip to content
Sign upLog in
This post is read-only. Explore Repls and connect with other creators on Community.View Community
The info in this post might be out of date, check out our docs instead. View docs
7

Chrome Driver

Ashenguard
Ashenguard

Is there anyway to use chrome driver?

3 years ago
You are viewing a single comment. View All
5
elonmaks
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.

3 years ago
7
StudentLevi
StudentLevi

@elonmaks
using python or pygame?

2 years ago