| Total Complexity | 0 |
| Total Lines | 23 |
| Duplicated Lines | 0 % |
| Changes | 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 |