.ui-tools.selenium3-foundation.1.0.1.source-code.locateByCss.js Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of selenium3-foundation Show documentation
Show all versions of selenium3-foundation Show documentation
Selenium3 Foundation is an automation framework designed to extend and enhance the capabilities provided by Selenium 3.0 (WebDriver).
var context = (arguments[0].length) ? arguments[0][0] : document;
if (arguments[2] > 0) {
return context.querySelectorAll(arguments[1])[arguments[2]];
} else {
return context.querySelector(arguments[1]);
}