Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Phantom ¶
type Phantom struct {
// contains filtered or unexported fields
}
func Start ¶
Create a new `Phantomjs` instance and return it as a pointer.
If an error occurs during command start, return it instead.
func (*Phantom) Exit ¶
Exit Phantomjs by sending the "phantomjs.exit()" command and wait for the command to end.
Return an error if one occured during exit command or if the program output a error value
Click to show internal directories.
Click to hide internal directories.