// FindElemsByLinkText finds links by their text
FindElemsByLinkText finds links by their text
// FindElemsByLinkText finds links by their text
func (d *Driver) FindElemsByLinkText(text string) ([]Element, error) {
	els, err := d.driver.FindElements(goselenium.ByLinkText(text))
	if err != nil {
		return []Element{}, err
	}
	elems := make([]Element, len(els))
	for i, val := range els {
		elems[i] = Element{
			el: val,
		}
	}
	return elems, nil
}
func ( d * Driver ) FindElemsByLinkText ( text string ) ( [ ] Element , error ) { els , err := d . driver . FindElements ( goselenium . ByLinkText ( text ) ) if err != nil { return [ ] Element { } , err } elems := make ( [ ] Element , len ( els ) ) for i , val := range els { elems [ i ] = Element { el : val , } } return elems , nil }
FindElemsByLinkText finds links by their text
FindElemsByLinkText finds links by their text