Skip to content

Instantly share code, notes, and snippets.

@jfisher446
jfisher446 / SeleniumHelpers.java
Created January 2, 2020 02:11
Fisher's Java Selenium Helper Library
import java.util.concurrent.ScheduledThreadPoolExecutor;
class FishSeLib {
ScheduledThreadPoolExecutor exec = new ScheduledThreadPoolExecutor(1);
public static WebDriver startChromeWithCustomProfile() {
System.setProperty("webdriver.chrome.driver", chromedriverPath);
ChromeOptions options = new ChromeOptions();
// loading Chrome with my existing profile instead of a temporary profile
@jfisher446
jfisher446 / lol-champions.json
Created May 31, 2012 15:04 — forked from justinjones/lol-champions.json
League of legends champion data in JSON format
[ { "desc" : "Unlike other foxes that roamed the woods of southern Ionia, Ahri had always felt a strange connection to the magical world around her; a connection that was somehow incomplete. Deep inside, she felt the skin she had been born into was an ill fit for her and dreamt of one day...",
"id" : 103,
"name" : "Ahri",
"tags" : [ "assassin",
"mage",
"ranged"
]
},
{ "desc" : "There exists an ancient order originating in the Ionian Isles dedicated to the preservation of balance. Order, chaos, light, darkness -- all things must exist in perfect harmony for such is the way of the universe. This order is known as the Kinkou and it employs a triumvirate...",
"id" : 84,