For scrapy/selenium is there a way to go back to a previous page?

后端 未结 3 583
轻奢々
轻奢々 2021-02-02 14:22

I essentially have a start_url that has my javascript search form and button, hence the need of selenium. I use selenium to select the appropriate items in my select box objects

3条回答
  •  南旧
    南旧 (楼主)
    2021-02-02 15:05

    To move backwards and forwards in your browser’s history use

    driver.forward()
    driver.back()
    

提交回复
热议问题