Skip to content

Instantly share code, notes, and snippets.

@dcypherthis
dcypherthis / keybase.md
Created April 15, 2021 16:03
Verification

Keybase proof

I hereby claim:

  • I am dcypherthis on github.
  • I am dcypherthis (https://keybase.io/dcypherthis) on keybase.
  • I have a public key ASCejnTlsSDk6VyLFKCW4dP2A8fFOaTLOVRAzI1E3rmsWwo

To claim this, I am signing this object:

@dcypherthis
dcypherthis / master.conf.js
Created September 20, 2017 13:16
Master WDIO config for wdio cucumber framework 1.x or higher
require('babel-core/register');
const _config = require('config');
const debug = process.env.DEBUG;
const errorLogs = [];
let feature, scenario, step, status, timestamp, allTags, caseId;
exports.config = {
sync: true,
debug: debug, //eslint-disable-line object-shorthand
coloredLogs: true,
@dcypherthis
dcypherthis / .nvmrc
Last active September 18, 2017 18:02
cucumber 3.x friendly steps for wdio-cucumber-framework 1.x.x
6
@dcypherthis
dcypherthis / master.conf.js
Last active September 15, 2017 15:50
severe browser console logs
// Declare in the top of your config before anty params are set.
const errorLogs = [];
let feature, scenario, step, status, timestamp, allTags, caseId;
// add these hooks to the body of your config
afterStep: function(stepResult) { //eslint-disable-line object-shorthand
/**
* Assign Step Status of Passed/Failed/Skipped to a variable.
@dcypherthis
dcypherthis / wdio.conf.js
Created March 31, 2016 06:41
Cant Find Step Files!
exports.config = {
//
// ==================
// Specify Test Files
// ==================
// Define which test specs should run. The pattern is relative to the directory
// from which `wdio` was called. Notice that, if you are calling `wdio` from an
// NPM script (see https://docs.npmjs.com/cli/run-script) then the current working
// directory is where your package.json resides, so `wdio` will be called from there.

What is Selenium?

Selenium, in the biological sense, is a mineral essential to the metabolic process of protein synthesis. Without it, individuals experience severe damage to the heart muscle and interference with brain chemistry that is essential to managing stress. In high doses, however, selenium has toxic qualities that damage the very things that need it to function. Like many other vital minerals and chemicals in our bodies, balance is key to health and prolonged wellness.

Selenium WebDriver is a tool for automating web and mobile application testing. It automates web browsers to mimic human interaction with user interfaces. It is built around an object-oriented API and set of native drivers for modern web browsers and mobile application frameworks. While based in java, API wrappers are maintained across dozens of languages and frameworks ensuring the right tool is available to everyone. With Selenium WebDriver, we create test cases that navigate through our web pages and applications, make a

@dcypherthis
dcypherthis / wdi.conf.js
Created January 27, 2016 21:04
wdio-cucumber with babel
exports.config = {
//
// ==================
// Specify Test Files
// ==================
// Define which test specs should run. The pattern is relative to the directory
// from which `wdio` was called. Notice that, if you are calling `wdio` from an
// NPM script (see https://docs.npmjs.com/cli/run-script) then the current working
// directory is where your package.json resides, so `wdio` will be called from there.
@dcypherthis
dcypherthis / osx-for-hackers.sh
Last active August 29, 2015 14:26 — forked from matthewmueller/osx-for-hackers.sh
OSX for Hackers (Mavericks/Yosemite)
# OSX for Hackers (Mavericks/Yosemite)
#
# Source: https://gist.github.com/brandonb927/3195465
#!/bin/sh
# Some things taken from here
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
# Ask for the administrator password upfront