-2

I'm using excel selenium to scrape some information from pages with lots of images. Is it possible to make the browser don't load the images of the page? So it could be more faster.

closed as unclear what you're asking by alecxe, Bharat Mane, NarendraC, c32hedge, Yu Zhang Aug 9 '17 at 4:58

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • 1
    Hi Thalles, and welcome to SQA Stack Exchange. On this site, you need to demonstrate that you have tried to solve the problem yourself before asking for help; can you edit your question to describe what investigations you have made, and what you have found out about webdriver's control of what the browser loads? – Vince Bowdren Aug 16 '16 at 12:45
2

Yes, that is possible for an example see this question: https://stackoverflow.com/questions/7157994/do-not-want-images-to-load-and-css-to-render-on-firefox-in-selenium-webdriver-te

I am wondering if Selenium is the right crawler to get text from a website. If you need to crawl dynamic sites than a headless browser like PhantomJS will be much faster: https://www.sitepoint.com/web-crawling-node-phantomjs-horseman/

If the site is static plain http crawlers will be even faster.

Not the answer you're looking for? Browse other questions tagged or ask your own question.