This is documentation for the next version of K6. For the latest stable release, go to the latest version.
getAttribute(selector, name[, options])
Warning
Use locator-based
locator.getAttribute()
instead.
Returns the element attribute value for the given attribute name.