Last active
June 21, 2022 08:12
-
-
Save ganigithub/9e782a4f273d7c2b7d388a93fd374ffe to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# launch chrome and open zerodha website | |
from selenium import webdriver | |
from time import sleep | |
from pyotp import TOTP | |
service = webdriver.chrome.service.Service(f'{webdriver_path}/chromedriver.exe') | |
service.start() | |
options = webdriver.ChromeOptions() | |
options = options.to_capabilities() | |
driver = webdriver.Remote(service.service_url, options) | |
driver.get(url) | |
driver.maximize_window() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment