You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
getElementsByClassName - Searches and returns all elements containing a given class name.
381
381
382
-
@param className <str> - A one-word class name
382
+
@param className <str> - One or more space-separated class names
383
+
383
384
@param root <AdvancedTag/'root'> - Search starting at a specific node, if provided. if string 'root' [default], the root of the parsed tree will be used.
getElementsByClassName - Searches and returns all elements containing a given class name.
1278
1290
1279
-
@param className <str> - A one-word class name
1291
+
1292
+
@param className <str> - One or more space-separated class names
1293
+
1280
1294
@param root <AdvancedTag/'root'> - Search starting at a specific node, if provided. if string 'root', the root of the parsed tree will be used.
1295
+
1281
1296
@param useIndex <bool> If useIndex is True and class names are indexed [see constructor] only the index will be used. Otherwise a full search is performed.
assert'em1'inblueOneIds , 'Expected to find id="em1" via "blue one" (contains classes "blue" and "one") from a tag but did not. Matched: '+repr(blueOneIds)
1270
+
assert'em2'inblueOneIds , 'Expected to find id="em2" via "blue one" (contains classes "blue" and "one") from a tag but did not. Matched: '+repr(blueOneIds)
assert'em1'inblueOneIds , 'Expected to find id="em1" via "blue one" (contains classes "blue" and "one") through tag collection but did not. Matched: '+repr(blueOneIds)
1278
+
assert'em2'inblueOneIds , 'Expected to find id="em2" via "blue one" (contains classes "blue" and "one") through tag collection but did not. Matched: '+repr(blueOneIds)
assert'em1'inoneBlueIds, 'Expected to find id="em1" via "one blue" (contains classes "blue" and "one") from a tag but did not. Matched: '+repr(oneBlueIds)
1296
+
assert'em2'inoneBlueIds, 'Expected to find id="em2" via "one blue" (contains classes "blue" and "one") from a tag but did not. Matched: '+repr(oneBlueIds)
assert'em1'inoneBlueIds, 'Expected to find id="em1" via "one blue" (contains classes "blue" and "one") from a tagcollection but did not. Matched: '+repr(oneBlueIds)
1305
+
assert'em2'inoneBlueIds, 'Expected to find id="em2" via "one blue" (contains classes "blue" and "one") from a tagcollection but did not. Matched: '+repr(oneBlueIds)
assert'em2'ininnerBlueIds , 'Expected to find id="em2" via "inner blue" ( contains classes "blue" and "inner") but did not. Matched: '+repr(innerBlueIds)
1314
+
assert'em3'ininnerBlueIds , 'Expected to find id="em3" via "inner blue" ( contains classes "blue" and "inner") but did not. Matched: '+repr(innerBlueIds)
0 commit comments