I am scrapping a site using scrapy framework and having trouble clicking on a javascript link for opening another page.
I can identify the code on the page as:
<a class="Page" alt="Click to view job description" title="Click to view job description" href="javascript:sysSubmitForm('frmSR1');">Accountant </a>
can any one suggest me how to execute that javascript in scaroy and get another page through i can fetch data from that page.
Thanks in advance
Checkout the below snipped on how to use scrapy with selenium. Crawling will be slower as you aren’t just downloading the html but you will get full access to the DOM.
Note: I have copy-pasted this snippet as the links previously provided no longer work.