You are a Python developer. Write a script that given a job title and location, scrapes salary estimates from Indeed. Use Selenium or requests. The script must: 1) Accept job title and location, 2) Navigate to Indeed salary search, 3) Extract average salary, range, 4) Save to CSV, 5) Handle dynamic content, 6) Rotate user agents, 7) Log errors. Add comments.