you can use TestCafe.

TestCafe is free, open source framework for web functional testing (e2e testing). TestCafe’s based on Node.js and doesn’t use WebDriver at all.
TestCafe-powered tests are executed on the server side. To obtain DOM-elements, TestCafe provides powerfull flexible system of Selectors. TestCafe can execute JavaScript on tested webpage using the ClientFunction feature (see our Documentation).
TestCafe tests are really very fast, see for yourself. But the high speed test run does not affect the stability thanks to a build-in smart wait system.
Installation of TestCafe is very easy:
1) Check that you have Node.js on your PC (or install it).
2) To install TestCafe open cmd and type in:
npm install -g testcafe
Writing test is not a rocket-science. Here is a quick start: 1) Copy-paste the following code to your text editor and save it as “test.js”
import { Selector } from ‘testcafe’;
fixture `Getting Started`
.page `http://devexpress.github.io/testcafe/example`;
test(‘My first test’, async t => {
await t
.typeText(‘#developer-name’, ‘John Smith’)
.click(‘#submit-button’)
.expect(Selector(‘#article-header’).innerText).eql(‘Thank you, John Smith!‘);
});
2) Run test in your browser (e.g. chrome) by typing the following command in cmd:
testcafe chrome test.js
3) Get the descriptive result in the console output.
TestCafe allows you to test against various browsers: local, remote (on devices, be it browser for Raspberry Pi or Safari for iOS), cloud (e.g. Sauce Labs) or headless (e.g. Nightmare). This means that you can easily use TestCafe with your Continious Integration infrastructure.
You can use the same to scrape data and save to file easily