added notes about getElementInfo and getElementsInfo
Showing
1 changed file
with
8 additions
and
0 deletions
... | @@ -1118,6 +1118,10 @@ Gives something like:: | ... | @@ -1118,6 +1118,10 @@ Gives something like:: |
1118 | "y": 76 | 1118 | "y": 76 |
1119 | } | 1119 | } |
1120 | 1120 | ||
1121 | .. note:: | ||
1122 | |||
1123 | This method **does not** return a DOM element, only a simple object representation of it; this is because the casper environment has no direct access to the scraped page one. | ||
1124 | |||
1121 | .. index:: DOM | 1125 | .. index:: DOM |
1122 | 1126 | ||
1123 | ``getElementsInfo()`` | 1127 | ``getElementsInfo()`` |
... | @@ -1157,6 +1161,10 @@ Gives something like:: | ... | @@ -1157,6 +1161,10 @@ Gives something like:: |
1157 | } | 1161 | } |
1158 | ] | 1162 | ] |
1159 | 1163 | ||
1164 | .. note:: | ||
1165 | |||
1166 | This method **does not** return a ``NodeList``, only a simple array of object representations of matching elements; this is because the casper environment has no direct access to the scraped page one. | ||
1167 | |||
1160 | .. index:: Form | 1168 | .. index:: Form |
1161 | 1169 | ||
1162 | ``getFormValues()`` | 1170 | ``getFormValues()`` | ... | ... |
-
Please register or sign in to post a comment