Filling web form and dealing with exceptions
This script automates the manual job of filling forms in a web browser taking its data from any data source using chocolatey and selenium web driver
Install chocolatey following the installation instructions from here
Use choco to install any browser package e.g Chocolatey Firefox or Chocolatey Google Chrome
choco install Firefox
or
choco install googlechrome
Use the package manager pip to install selenium and pandas.
pip install selenium
pip install pandas
from selenium import webdriver
from selenium.webdriver.support.ui import Select
import pandas as pd
import math
import time
# Adjust the rest of the script to suit your data source and web form
Check my target form here and check out selenium webdriver docs from here