Created
February 6, 2018 20:26
-
-
Save InstyleVII/dca5c5fba2c012bb8c3fa2cdeb4b61cd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using OpenQA.Selenium.Chrome; | |
using OpenQA.Selenium.Edge; | |
using OpenQA.Selenium.Firefox; | |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
namespace WebDriverReducer | |
{ | |
class Program | |
{ | |
static void Main(string[] args) | |
{ | |
var service = EdgeDriverService.CreateDefaultService(); | |
service.UseVerboseLogging = true; | |
var driver = new EdgeDriver(); | |
driver.Url = "file:///C:/Users/clmartin/Code/test.html"; | |
driver.FindElementById("click").Click(); | |
Console.ReadLine(); | |
driver.Quit(); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment