I need a small, dependable script that visits the website where my electricity account is hosted and pulls down the most recent bill every single day. From that bill I only care about three data points: • total amount due • the full billing-period dates • customer information Once those fields are captured, the script should save them in a clean, machine-readable format—excel is fine and overwrite or append as needed so I always have the latest record. If login or captcha handling is required, please automate it I’m comfortable with Python, so using requests, BeautifulSoup, Selenium, or Playwright is acceptable as long as the final code here I am giving working script for ap portal using same concept need to do for up website. the flow and concept almost same. Flow: 1. open https://consumer.uppcl.org/wss/pay_bill_home headless Crome 2. Select District: Sitapur(before run script I will give District so u need to pic from code) 3. ENTER Account Number: 5280976000 (copy from input file) 4. Enter Captha: (if fail then retry count and wait time as per number given in code) 5. Scrap Data: Name, Due Date, Payable Amount ( if Payable Amount 0 or - value then click You can view your last online payment receipt here. and from popup take paid amount) for get next number simply click back enter Account Number and capta and scrap details. once 10 records done then save in output file and start next 10. here I attached complete working ap code and flow before start just run ap script and check how its working and full code same solution need for up