Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
John McEleney
/
casperjs
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
bb706acd
...
bb706acdf38f30d2380ebd3897ba1d4cee74430c
authored
2014-11-03 12:03:45 +0200
by
Andy Gardner
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Handle form elements in fetchText
1 parent
df30390d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
modules/clientutils.js
modules/clientutils.js
View file @
bb706ac
...
...
@@ -230,7 +230,7 @@
var
text
=
''
,
elements
=
this
.
findAll
(
selector
);
if
(
elements
&&
elements
.
length
)
{
Array
.
prototype
.
forEach
.
call
(
elements
,
function
_forEach
(
element
)
{
text
+=
element
.
textContent
||
element
.
innerText
;
text
+=
element
.
textContent
||
element
.
innerText
||
element
.
value
;
});
}
return
text
;
...
...
Please
register
or
sign in
to post a comment