nightmare-examples - Cool nightmarejs browser automation examples.

  •        8

Cool nightmarejs browser automation examples.

https://github.com/cagataycali/nightmare-examples#readme
https://github.com/cagataycali/nightmare-examples

Dependencies:

async : ^2.1.2
express : ^4.14.0
nightmare : ^2.8.1
nightmare-download-manager : ^0.2.2
nightmare-inline-download : ^0.2.2
nightmare-upload : ^0.1.1
snyk : ^1.41.1

Tags
Implementation
License
Platform

   




Related Projects

nightmare - A high-level browser automation library.

  •    Javascript

Nightmare is a high-level browser automation library from Segment. The goal is to expose a few simple methods that mimic user actions (like goto, type and click), with an API that feels synchronous for each block of scripting, rather than deeply nested callbacks. It was originally designed for automating tasks across sites that don't have APIs, but is most often used for UI testing and crawling.

remote-browser - A low-level browser automation framework built on top of the Web Extensions API standard

  •    Javascript

Remote Browser is a library for controlling web browsers like Chrome and Firefox programmatically using JavaScript. You've likely heard of similar browser automation frameworks before, such as Puppeteer and Selenium. Much like these other projects, Remote Browser can be used to accomplish a wide variety of tasks relating to UI testing, Server Side Rendering (SSR), and web scraping. What makes Remote Browser different from these other libraries is that it's built using standard cross-browser compatible technologies, and its primary goal is to facilitate interactions with existing APIs rather than to create a new one of its own. Remote Browser provides a minimalistic and lightweight framework for automating browsers using vanilla JavaScript, HTML browsing contexts, and the Web Extensions API. If you're already familiar with these technologies, then you already know almost everything that you need to use Remote Browser. If not, then there are vast learning resources out there, like The Mozilla Developer Network (MDN), which can get you up to speed in no time. Be sure to check out the Introduction, the Interactive Tour, and Usage Examples to learn about how Remote Browser makes it easy to use these technologies.

puppeteer-examples - Use case-driven examples for using Puppeteer and headless chrome

  •    Javascript

Examples for using Puppeteer to do big, bold things. Test lazy loading strategy by seeing CSS/JS code coverage usage across page load.

taiko - A node.js library to automate chrome/chromium browser

  •    Javascript

Taiko is a free and open source browser automation tool built by the team behind Gauge from ThoughtWorks. Taiko is a node library with a clear and concise API to automate the chrome browser. Tests written in Taiko are highly readable and maintainable. Taiko’s smart selectors make tests reliable by adapting to changes in the structure of your web application. With Taiko there’s no need for id/css/xpath selectors or adding explicit waits (for XHR requests) in test scripts.


chromeless - 🖥 Chrome automation made simple. Runs locally or headless on AWS Lambda.

  •    TypeScript

You can try out Chromeless and explore the API in the browser-based demo playground (source).With Chromeless you can control Chrome (open website, click elements, fill out forms...) using an elegant API. This is useful for integration tests or any other scenario where you'd need to script a real browser.

chromeless - 🖥 Chrome automation made simple. Runs locally or headless on AWS Lambda.

  •    TypeScript

You can try out Chromeless and explore the API in the browser-based demo playground (source). With Chromeless you can control Chrome (open website, click elements, fill out forms...) using an elegant API. This is useful for integration tests or any other scenario where you'd need to script a real browser.

SimpleBrowser - A flexible and intuitive web browser engine designed for automation tasks

  •    CSharp

SimpleBrowser is a lightweight, yet highly capable browser automation engine designed for automation and testing scenarios. It provides an intuitive API that makes it simple to quickly extract specific elements of a page using a variety of matching techniques, and then interact with those elements with methods such as Click(), SubmitForm() and many more. SimpleBrowser does not support JavaScript, but allows for manual manipulation of the user agent, referrer, request headers, form values and other values before submission or navigation.

karate - Test Automation Made Simple

  •    Java

Karate is the only open-source tool to combine API test-automation, mocks, performance-testing and even UI automation into a single, unified framework. The BDD syntax popularized by Cucumber is language-neutral, and easy for even non-programmers. Powerful JSON & XML assertions are built-in, and you can run tests in parallel for speed.

Splinter - Python test framework for web applications

  •    Python

Splinter is an open source tool for testing web applications using Python. It lets you automate browser actions, such as visiting URLs and interacting with their items. Splinter is an abstraction layer on top of existing browser automation tools such as Selenium, PhantomJS and zope.testbrowser. It has a high-level API that makes it easy to write automated tests of web applications. It has drivers for Chrome and Firefox for browser-based testing, and zope.testbrowser and PhantomJS for headless testing.

trifleJS - Headless automation for Internet Explorer

  •    Javascript

A headless Internet Explorer browser using the .NET WebBrowser Class with a Javascript API running on the V8 JavaScript Engine. The API is coded as a port of PhantomJS. Basically, if you have used phantom before then you already know how to use TrifleJS.

pyppeteer - Headless chrome/chromium automation library (unofficial port of puppeteer)

  •    Python

Unofficial Python port of puppeteer JavaScript (headless) chrome/chromium browser automation library. Note: When you run pyppeteer first time, it downloads a recent version of Chromium (~100MB). If you don't prefer this behavior, run pyppeteer-install command before running scripts which uses pyppeteer.

Slimerjs - A scriptable browser like PhantomJS, based on Firefox

  •    Javascript

A scriptable browser like PhantomJS, based on Firefox. SlimerJS is useful to do functional tests, page automation, network monitoring, screen capture, web scraping etc. It provides support to load a web page and inspect its content. It can act on a web page like a user: click on links, fill in form fields etc. You can then inspect the results, to test them or to retrieve them. It helps to take screenshots of a web page.

terminus - Capybara driver written mostly in client-side JavaScript for cross-browser automation

  •    Javascript

Capybara driver written mostly in client-side JavaScript for cross-browser automation

nemo - Selenium-webdriver based automation in node.js

  •    Javascript

Nemo provides a simple way to add selenium automation to your NodeJS web projects. With a powerful configuration ability provided by krakenjs/confit, and plugin architecture, Nemo is flexible enough to handle any browser/device automation need.Nemo is built to easily plug into any task runner and test runner. But in this README we will only cover setup and architecture of Nemo as a standalone entity.

nemo-core - Selenium-webdriver based automation in node.js

  •    Javascript

Nemo provides a simple way to add selenium automation to your NodeJS web projects. With a powerful configuration ability provided by krakenjs/confit, and plugin architecture, Nemo is flexible enough to handle any browser/device automation need.Nemo is built to easily plug into any task runner and test runner. But in this README we will only cover setup and architecture of Nemo as a standalone entity.

Harness - Internet Explorer Automation

  •    DotNet

Harness is Browser Automation and Automated Web Application Testing COM Library (Common Object Library)

hound - Elixir library for writing integration tests and browser automation

  •    Elixir

For browser automation and writing integration tests in Elixir. Can run multiple browser sessions simultaneously. See example.

niffy - Perceptual diffing suite built on Nightmare

  •    Javascript

You can look at test/index.js as an example for how to use Niffy. To run the example test just do make test after cloning this repo. Niffy is built on Nightmare and used in combination with Mocha. You'll also need to read and use both of those library's APIs to use niffy effectively.