Python Selenium skipping elements when scraping

The index += 1 is causing the script to skip one element each time. So it will print out name, car, apt_time, contact, note and then instead of going to the next element it skips it and prints the one after it, but if I set index to 0 it would just repeat name, car, apt_time, contact, selenium note for the first element for every element.

Add Comment
  • 0 Answer(s)
  • Your Answer

    By posting your answer, you agree to the privacy policy and terms of service.