I've just started to learn coding this month and started with Python. I would like to automate a simple task (my first project) - visit a company's career website, retrieve all the jobs posted for the day and store them in a file. So this is what I would like to do, in sequence:
- Go to http://www.nov.com/careers/jobsearch.aspx
- Select the option - 25 Jobs per page
- Select the date option - Today
- Click on Search for Jobs
- Store results in a file (just the job titles)
I looked around and found that Selenium is the best way to go about handling .aspx pages.
I have done steps 1-4 using Selenium. However, there are two issues:
- I do not want the browser opening up. I just need the output saved to a file.
- Even if I am ok with the browser popping up, using the Python code (exported from Selenium as Web Driver) on IDLE (i have windows OS) results in errors. When I run the Python code, the browser opens up and the link is loaded. But none of the form selections happen and I get the foll error message (link below), before the browser closes. So what does the error message mean? https://i.stack.imgur.com/lmcDz.png
Any help/guidance will be appreciated...Thanks!