Gerapy/Gerapy

Wrong CSS values in Web CSS Selector UI

sojimaxi opened this issue · 0 comments

Describe the bug
When using the UI to get a selector the wrong CSS values are in Web CSS Selector compare to the correct values in the xpath selector

To Reproduce
Steps to reproduce the behavior:

  1. Login to Gerapy UI and create a new spider in a project, Add url https://example.com/ to start_urls
  2. Click on the Play button
  3. Click on the Web tab the select the more information link in the rendered section
  4. See wrong css selector value in the CSS Selector field

Screenshots
gerapy_wrong_css_extractor

Environment (please complete the following information):

  • OS: Windows 11
  • Browser: Google Chrome 101.0.4951.54
  • Python Version: 3.7.9
  • Gerapy Version: 0.9.16