Versions in this module Expand all Collapse all v0 v0.8.0 Apr 26, 2018 v0.7.8 Apr 19, 2018 Changes in this version + const GeckoDriver + const Selenium + const ServiceID + func New() endly.Service + func NewParser() *parser + func Sessions(context *endly.Context) map[string]*Session + type Action struct + Calls []*MethodCall + Key string + Selector *WebElementSelector + func NewAction(key, selector string, method string, params ...interface{}) *Action + type CloseSessionRequest struct + SessionID string + func NewCloseSessionRequestFromURL(URL string) (*CloseSessionRequest, error) + type CloseSessionResponse struct + SessionID string + type MethodCall struct + Method string + Parameters []interface{} + Wait *model.Repeater + func NewMethodCall(method string, repeatable *model.Repeater, parameters ...interface{}) *MethodCall + type OpenSessionRequest struct + Browser string + RemoteSelenium *url.Resource + SessionID string + func NewOpenSessionRequest(browser string, remote *url.Resource) *OpenSessionRequest + func (r *OpenSessionRequest) Validate() error + type OpenSessionResponse struct + SessionID string + type RunRequest struct + Actions []*Action + Browser string + Commands []interface{} + Expect interface{} + RemoteSelenium *url.Resource + SessionID string + func NewRunRequest(sessionID, browser string, remote *url.Resource, actions ...*Action) *RunRequest + func NewRunRequestFromURL(URL string) (*RunRequest, error) + func (r *RunRequest) Init() error + func (r *RunRequest) IsInput() bool + func (r *RunRequest) Messages() []*msg.Message + func (r *RunRequest) Validate() error + type RunResponse struct + Assert *validator.AssertResponse + Data map[string]interface{} + LookupErrors []string + SessionID string + func (r *RunResponse) IsOutput() bool + func (r *RunResponse) Messages() []*msg.Message + type ServiceCallResponse struct + Data data.Map + Result []interface{} + type Session struct + Browser string + ID string + type StartRequest struct + Port int + Sdk string + SdkVersion string + Target *url.Resource + Version string + func NewStartRequestFromURL(URL string) (*StartRequest, error) + func (r *StartRequest) Validate() error + type StartResponse struct + GeckodriverPath string + Pid int + ServerPath string + type StopRequest struct + Port int + Target *url.Resource + func NewStopRequestFromURL(URL string) (*StopRequest, error) + type StopResponse struct + type WebDriverCallRequest struct + Call *MethodCall + Key string + SessionID string + type WebElementCallRequest struct + Call *MethodCall + Selector *WebElementSelector + SessionID string + type WebElementCallResponse struct + Data map[string]interface{} + LookupError string + Result []interface{} + type WebElementSelector struct + By string + Key string + Value string + func NewWebElementSelector(by, value string) *WebElementSelector + func (s *WebElementSelector) Init() error + func (s *WebElementSelector) Validate() error + type WebSelector string + func (s WebSelector) ByAndValue() (by, value string)