ArtOfTest, Inc. - WebAii 1.1 Automation Infrastructure reference library
Find.ByAttributes(nameValuePairs) method
Namespaces > ArtOfTest.WebAii.Core > Find > ByAttributes(String[]())
Returns a an element that has attributes that match the NameValuePairs passed it. All matching is case-insensitive.
Syntax
C#
public Element ByAttributes (
	params string[] nameValuePairs
)
Parameters
nameValuePairs (String[]())
A list of name value pairs to match. For example: GetAllElementsByAttributes("bar=foo","class=myclass","src=~foo.gif"). Use =~ for partial values.
Return Value
The found element. The function returns null if no element is found.

Assembly: ArtOfTest.WebAii (Module: ArtOfTest.WebAii)