Passed
Pull Request — master (#12)
by Konstantinos
03:52
created

download_pretrained_model   A

Complexity

Total Complexity 0

Size/Duplication

Total Lines 23
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 9
dl 0
loc 23
rs 10
c 0
b 0
f 0
wmc 0
1
#!/usr/bin/env python
2
import os
3
4
from selenium import webdriver
5
6
# from selenium.webdriver.common.keys import Keys
7
8
my_dir = os.path.dirname(os.path.realpath(__file__))
9
driver = webdriver.Chrome(os.path.join(my_dir, "../chromedriver"))
10
11
driver.get("https://drive.protonmail.com/urls/7RXGN23ZRR#hsw4STil0Hgc")
12
13
print(driver.title)
14
15
# search_bar = driver.find_element_by_name("q")
16
# search_bar.clear()
17
# search_bar.send_keys("getting started with python")
18
# search_bar.send_keys(Keys.RETURN)
19
20
print(driver.current_url)
21
22
driver.close()
23