given().
param("key1", "value1").
param("key2", "value2").
when().
post("/somewhere").
then().
body(containsString("OK"));
git clone <url>
git clone git://git.osmocom.org/libosmocore.git
git checkout jolly/menu
git clone -b <branch name> <git url>
git clone -b jolly/menu git://git.osmocom.org/libosmocore.git
WebDriver driver = new ChromeDriver();
if (driver instanceof JavascriptExecutor) {
((JavascriptExecutor) driver).executeScript("alert('hello world');");
}
var urls = new List<string>() {"https://mysite1.com/", "https://mysite2.com/",
"https://mysite3.com/", "https://mysite4.com/",
"https://mysite1.com/test", "https://mysite2.com/test",
"https://mysite5.com/", "https://mysite5.com/234234/23434/sdfas"};
List<String> uris = urls.Select(x => new Uri(x).GetLeftPart(UriPartial.Authority)).Distinct().ToList();
uris.ForEach(x => Console.WriteLine(x));
<div style="background-color:yellow">
<img class="clickable" src="../../Images/empty.png" id="ImgNeed1" />
<img class="clickable" src="../../Images/empty.png" id="ImgNeed2" />
<img class="clickable" src="../../Images/empty.png" id="ImgNeed3" />
<img class="clickable" src="../../Images/empty.png" id="ImgNeed4" />
<img class="clickable" src="../../Images/empty.png" id="ImgNeed5" />
</div>
document.getElementsByClassName("clickable")
document.querySelectorAll("img[id^='ImgNeed']").onclick