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
337bf970
...
337bf97009883b77e9b964ac6882baab9e833b2c
authored
2014-08-26 21:15:36 +0200
by
Mickaël Andrieu
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge pull request #1017 from n1k0/revert-1016-master
Revert "REFS #948 - Add docs"
2 parents
741bf655
27635907
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
25 deletions
docs/modules/casper.rst
docs/modules/casper.rst
View file @
337bf97
...
...
@@ -984,31 +984,6 @@ are referenced by ``CSS3`` selectors::
}, true);
});
``fillLabels())``
-------------------------------------------------------------------------------
**Signature:** ``fillLabels(String selector, Object values[, Boolean submit])``
.. versionadded:: 1.1
Fills a form with provided field values using associated label text Fields
are referenced by label content values::
casper.start('http://some.tld/contact.form', function() {
this.fillLabels('fform#contact-form', {
Email: 'chuck@norris.com',
Password: 'chuck',
Content: 'Am watching thou',
Check: true,
No: true,
Topic: 'bar',
Multitopic: ['bar', 'car'],
File: fpath,
"1": true,
"3": true,
Strange: "very"
}, true);
});
``fillXPath()``
-------------------------------------------------------------------------------
...
...
Please
register
or
sign in
to post a comment