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
// Parent Controller | |
angular.module('CsWebApp.PayYourBill', []) | |
.controller('PayYourBillController', [ | |
'$scope', '$http', function ($scope, $http) { | |
$scope.test = 'true'; | |
} | |
]); | |
// Child Controller | |
angular.module('CsWebApp.PayYourBill.Form', []) |
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; | |
using OpenQA.Selenium.Edge; | |
using System; | |
namespace EdgeDriverTests | |
{ | |
public class Program | |
{ | |
/* | |
* This assumes you have added MicrosoftWebDriver.exe to your System Path. |
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
Install-Package : Unable to find package 'Selenium.WebDriver' | |
At line:1 char:1 | |
+ Install-Package Selenium.WebDriver | |
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
+ CategoryInfo : NotSpecified: (:) [Install-Package], Exception | |
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand |
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
var driver = new FirefoxDriver(new FirefoxOptions()); | |
driver.Url = "www.bing.com"; | |
Thread.Sleep(2000); | |
driver.Quit(); |
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
var edgeService = EdgeDriverService.CreateDefaultService(); | |
edgeService.UseVerboseLogging = true; | |
var edgeDriver = new EdgeDriver(edgeService); | |
edgeDriver.Navigate().GoToUrl("http://ie-snap/scratchtests/mustjab/webdriver/test/missedJsReference.html"); | |
edgeDriver.SwitchTo().Frame("inner"); | |
IWebElement edgeWebDriverElement = edgeDriver.FindElement(By.Id("oneline")); | |
edgeDriver.SwitchTo().DefaultContent(); | |
IWebElement edgeScriptElement = (IWebElement)((IJavaScriptExecutor)edgeDriver).ExecuteScript("return frames[0].document.getElementById('oneline');"); |
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 |
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 |
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
{ | |
"capabilities": { | |
"firstMatch": [ { | |
"browserName": "chrome", | |
"goog:chromeOptions": { | |
"w3c": true | |
} | |
} ] | |
}, | |
"desiredCapabilities": { |
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
python wpt run edge webdriver\tests\actions\key.py --no-manifest --log-wptreport report.json --no-manifest-update --webdriver-arg=--verbose --timeout-multiplier=20 | |
0:05.83 INFO Using 1 client processes | |
0:11.04 SUITE_START: web-platform-test - running 1 tests | |
0:11.04 INFO Running reftest tests | |
0:11.04 INFO No reftest tests to run | |
0:11.04 INFO Running wdspec tests | |
0:11.04 INFO Starting runner | |
0:11.61 pid:5864 Full command: C:\Windows\system32\MicrosoftWebDriver.exe --port=4444 --verbose | |
pid:5864 [14:14:39.705] - Starting server... | |
0:11.61 pid:5864 [14:14:39.705] - Listening on http://127.0.0.1:4444/ |