What do you want to save?
Add Code snippet
New code examples
-
Other 2021-08-29 23:28:02
How to see your reports in cucumber
There are different type of Cucumber reports. 1. Pretty Report: It only generates a very basic report on IntelliJ/Eclipse console. We can make the console output more readable by using "monochrome = true" under @CucumberOptions. 2. Cucumber ... Add solution -
Other 2021-08-29 22:23:01
add jquery
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> // Put this script in the head of your index.html to load jQuery // The Google Hosted Libraries is a stable, reliable, high-speed, // globally... Add solution -
Shell/Bash 2021-08-29 16:41:01
bash remove duplicate lines from a file
# Basic syntax: sort input_file | uniq --unique # Sort the file first because uniq requires a sorted file to work. Uniq # then eliminates all duplicated lines in the file, keeping one instance # of each duplicated line # Note, this doesn't return only no... Add solution -
Other 2021-08-29 12:06:02
how to handle tabs in selenium
How do we handle windows/tabs? - We have to switch driver's focus to different window to be able to handle that one using window handles. - windowHandle: is a unique alphanumerical string randomly generated for each window/tab. ... Add solution -
Other 2021-08-28 15:23:01
loading screen batch file
@echo off setlocal enableextensions enabledelayedexpansion Rem Get a carriage return character set "CR=" & for /f %%a in ('copy /Z "%~f0" nul') do if not defined CR set "CR=%%a" rem The progress bar s... Add solution -
Shell/Bash 2021-08-28 12:33:02
git push repo
# Once a repo is cloned, you'll be working inside of the default branch (the default is `master`) git clone https://github.com/<git-user>/<repo-name> && cd <repo-name> # make changes and stage your files (repeat the `git add` com... Add solution -
Javascript 2021-08-28 00:09:02
react proptypes
import PropTypes from 'prop-types'; MyComponent.propTypes = { // You can declare that a prop is a specific JS type. By default, these // are all optional. optionalArray: PropTypes.array, optionalBool: PropTypes.bool, optionalFunc: PropTypes.fun... Add solution