WebScraping screener.in Site

Job ID: 32678494

Budget: ₹600 – ₹1,500 INR

Hi, I have written a sample function in selenium(attached) to login to screener.in site and scrape information of a stock. It is currently running into errors. I am looking for somebody to debug and complete this script. The objectives of the function would be to :

i) Login to the screener with <username, password> supplied from another configuration file
ii) After login, go to the input 'ticker' page, eg for ticker=PRECWIRE, url is 'https://www.screener.in/company/PRECWIRE/'
<NOTE : currently when the selenium opens the browser, the screen shifts to the opened browser, I want that all this happens in the background. I will be running it as a background job and dont want it to meddle if I am working on anything else at the time)
iii) Scrape the following information from this page :

ROCE 3yr, Stock P/E, Pledged Percentage, Debt to Equity, Promoter Holding, Dividend Payout

Sector/Industry, Peer Names List (eg : Hindustan Zinc, Hindustan Copper, ...)

Quarterly Results Heading : Last two quarters result vs Last two quarters of last year , eg : for now Sep 2021, Jun2021 vs Sep2020, Jun2020

Profit and Loss Heading : TTM vs Mar 2021

Announcements > All > get announcement for past x days, x=80
Related categories: Python Web Scraping Selenium