Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(454)

Unified Diff: pkg/webdriver/lib/webdriver.dart

Issue 14188048: add installation instructions to pkg packages (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: tweaks from review Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: pkg/webdriver/lib/webdriver.dart
diff --git a/pkg/webdriver/lib/webdriver.dart b/pkg/webdriver/lib/webdriver.dart
index fbae2d3e2a5b1d24aed82127e048998318689994..724332d959d10ee7496c866a891ea2db91301d4f 100644
--- a/pkg/webdriver/lib/webdriver.dart
+++ b/pkg/webdriver/lib/webdriver.dart
@@ -14,6 +14,21 @@ part 'src/base64decoder.dart';
/**
* WebDriver bindings for Dart.
*
+* ## Installing ##
+ *
+ * Use [pub][] to install this package. Add the following to your `pubspec.yaml`
+ * file.
+ *
+ * dependencies:
+ * webdriver: any
+ *
+ * Then run `pub install`.
+ *
+ * For more information, see the
+ * [webdriver package on pub.dartlang.org][pkg].
+ *
+ * ## Using ##
+ *
* These bindings are based on the WebDriver JSON wire protocol spec
* (http://code.google.com/p/selenium/wiki/JsonWireProtocol). Not
* all of these commands are implemented yet by WebDriver itself.
@@ -50,6 +65,9 @@ part 'src/base64decoder.dart';
* }).then((_) {
* session = null;
* });
+ *
+ * [pub]: http://pub.dartlang.org
+ * [pkg]: http://pub.dartlang.org/packages/webdriver
*/
void writeStringToFile(String fileName, String contents) {

Powered by Google App Engine
This is Rietveld 408576698