I am trying to click on the first result on the google result. Here is my code where I am entering chennai craiglist which is read from csv file. So I am sure the first lin
This works great with google results.
results = driver.find_elements_by_xpath('//div[@class="r"]/a/h3') # finds webresults results[0].click(). # clicks the first one