Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Not A Bug
-
Affects Version/s: 0.6.2
-
Fix Version/s: 0.7.0
-
Component/s: None
-
Labels:None
-
Number of attachments :
Description
When text() is called on a jQuery object the text from all the selected elements is returned concatenated together. For example, with this HTML:
<div class="foo">a</div>
<div class="bar">b</div>
<div class="foo">c</div>
This JavaScript `$('.foo').text()` would return 'ab'. However, this does not work as such with Geb.
Oops, that is incorrect, it would be 'ac'.