You are on page 1of 1

from selenium import webdriver

import base64
from os import system
import time
import csv

# Create a new instance of the chrome driver


driver = webdriver.Chrome('D:\test\chrome')

# to go to iisc vunl page


driver.get("https://admissions.iisc.ca.in/SF2019/upload.aspx")
sbox = driver.find_element_by_xpath("//input[�txtStudentMailID
']").click()

# type text
text_area = driver.find_element_by_id('txtStudentMailID')
text_area.send_keys('fudsbhai@gmail.com')

# submit button click


python button = driver.find_element_by_xpath(�//input[@id=
�btnSendOTPVerify�]�).click()

#input from user


otp = input(�enter otp�)

#verify OTP

text_area = driver.find_element_by_id(�txtOPTVerify�)
text_area.send_keys(otp)

#input application number


text_area = driver.find_element_by_id(�txtMobile�)
text_area.send_keys(�202045�)

# search

driver.find_element_by_xpath(�//select[@id=�btnSearch�]).click()

#finaly download part

driver.find_element_by_xpath(�//select[@id= �lnkApplicationForm�]�)

You might also like