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
4fedbaae
...
4fedbaaee903e4ade1ae52e142623f09cf79fe03
authored
2012-12-23 07:55:18 +0100
by
Nicolas Perriault
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
splitting long lines
1 parent
21975038
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
modules/casper.js
modules/casper.js
View file @
4fedbaa
...
...
@@ -810,7 +810,8 @@ Casper.prototype.getCurrentUrl = function getCurrentUrl() {
* @param String attribute The attribute name to lookup
* @return String The requested DOM element attribute value
*/
Casper
.
prototype
.
getElementAttribute
=
Casper
.
prototype
.
getElementAttr
=
function
getElementAttr
(
selector
,
attribute
)
{
Casper
.
prototype
.
getElementAttribute
=
Casper
.
prototype
.
getElementAttr
=
function
getElementAttr
(
selector
,
attribute
)
{
"use strict"
;
this
.
checkStarted
();
return
this
.
evaluate
(
function
_evaluate
(
selector
,
attribute
)
{
...
...
Please
register
or
sign in
to post a comment