|
|
|
|
|
<htmlNode variable>.FindElementByClass (Function) In french: <Variable htmlNoeud>.ChercheElémentParClasse Searches for elements whose "class" attribute matches a specific value in an HTML node. d is htmlNode
e is array of htmlNode <- d.ChercheElémentParClasse("Red")
Syntax
<Result> = <Element to handle>.FindElementByClass(<Sought Class attribute>)
<Result>: Array Array of htmlNode elements that match the search condition. <Element to handle>: htmlNode variable Name of the htmlNode variable in which the search will be performed. <Sought Class attribute>: Character string Value of the "Class" attribute to be searched for. Remarks <htmlNode variable>.FindElementByClass respects the rules for "selecting" HTML elements according to their class(es): - search for the different classes separated by spaces; all the requested classes must be present ("AND" search).
- case-sensitive search (generally, classes are in lowercase characters).
- search ignoring duplicates.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|