Skip to content

Instantly share code, notes, and snippets.

🤷‍♂
Ask me

Nima NimaSoroush

🤷‍♂
Ask me
Block or report user

Report or block NimaSoroush

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@NimaSoroush
NimaSoroush / mocketeer.js
Created Feb 28, 2019
Mocketeer with vanilla node
View mocketeer.js
const mocketeer = require('mocketeer');
const puppeteer = require('puppeteer');
(async () => {
const browser = await puppeteer.launch();
const page = await browser.newPage();
await mocketeer(browser);
await page.goto('https://www.example.com');
await page.close();
await browser.close();
@NimaSoroush
NimaSoroush / simple
Created Jun 9, 2018
Running Differencify with vanilla node
View simple
const Differencify = require('differencify');
const differencify = new Differencify({ debug: true });
(async () => {
const result = await differencify
.init()
.launch()
.newPage()
.setViewport({ width: 1600, height: 1200 })
.goto('https://github.com/NimaSoroush/differencify')
You can’t perform that action at this time.