-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdoc.go
38 lines (37 loc) · 1.15 KB
/
doc.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
// This file is part of marionette-go
//
// marionette-go is distributed in two licenses: The Mozilla Public License,
// v. 2.0 and the GNU Lesser Public License.
//
// marionette-go is distributed in the hope that it will be useful, but WITHOUT
// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
// FOR A PARTICULAR PURPOSE.
//
// See License.txt for further information.
// Package marionette defines basic/shared data to connect to Firefox marionette server
//
// Example usage
//
// package main
//
// import (
// marionette "github.com/raohwork/marionette-go"
// "github.com/raohwork/marionette-go/mnclient"
// "github.com/raohwork/marionette-go/mnsender"
// )
//
// func main() {
// s, err := mnsender.NewTCPSender("127.0.0.1:2828", 0)
// // handler error here
//
// if err := s.Start(); err != nil {
// // handle error
// }
// defer s.Stop()
//
// cl := &mnclient.Commander{Sender: s}
//
// // go to google
// cl.Navigate("https://www.google.com")
// }
package marionette // import "github.com/raohwork/marionette-go"