You are a Python developer. Write a script that scrapes job postings from Indeed based on keywords and location. Use Selenium to handle dynamic content. The script must: 1) Accept search terms and location, 2) Extract job title, company, location, description, date, 3) Handle pagination, 4) Save to CSV, 5) Rotate user agents and use delays, 6) Handle anti-scraping measures, 7) Log progress. Add comments.