func (s *Selection) Elements() ([]*api.Element, error) {
	elements, err := s.elements.Get()
	if err != nil {
		return nil, err
	}
	apiElements := []*api.Element{}
	for _, selectedElement := range elements {
		apiElements = append(apiElements, selectedElement.(*api.Element))
	}
	return apiElements, nil
}
func (s *Selection) Elements() ([]*api.Element, error) {
	elements, err := s.elements.Get()
	if err != nil {
		return nil, err
	}
	apiElements := []*api.Element{}
	for _, selectedElement := range elements {
		apiElements = append(apiElements, selectedElement.(*api.Element))
	}
	return apiElements, nil
}
func ( s * Selection ) Elements ( ) ( [ ] * api . Element , error ) { elements , err := s . elements . Get ( ) if err != nil { return nil , err } apiElements := [ ] * api . Element { } for _ , selectedElement := range elements { apiElements = append ( apiElements , selectedElement . ( * api . Element ) ) } return apiElements , nil }
// Elements returns a []*api.Element that can be used to send direct commands
// to WebDriver elements. See: https://code.google.com/p/selenium/wiki/JsonWireProtocol
Elements returns a [] * api . Element that can be used to send direct commands to WebDriver elements . See : https : // code . google . com / p / selenium / wiki / JsonWireProtocol