Skip to content

Instantly share code, notes, and snippets.

View allanlewis's full-sized avatar

Allan Lewis allanlewis

View GitHub Profile
@allanlewis
allanlewis / ClassWithListener.java
Created August 31, 2016 09:01 — forked from krmahadevan/ClassWithListener
Demo that shows how to make use of Event Firing Web Driver.
package com.test;
import java.net.MalformedURLException;
import java.net.URL;
import org.openqa.selenium.By;
import org.openqa.selenium.remote.DesiredCapabilities;
import org.openqa.selenium.support.events.EventFiringWebDriver;
import org.testng.annotations.Test;