func (d *Driver) FindByXPath(xpath string) (Element, error) {
	el, err := d.driver.FindElement(goselenium.ByXPath(xpath))
	if err != nil {
		return Element{}, err
	}
	return Element{
		el: el,
	}, nil
}
// FindByXPath finds an element by its XPath
FindByXPath finds an element by its XPath
// FindByXPath finds an element by its XPath
func (d *Driver) FindByXPath(xpath string) (Element, error) {
	el, err := d.driver.FindElement(goselenium.ByXPath(xpath))
	if err != nil {
		return Element{}, err
	}
	return Element{
		el: el,
	}, nil
}
func ( d * Driver ) FindByXPath ( xpath string ) ( Element , error ) { el , err := d . driver . FindElement ( goselenium . ByXPath ( xpath ) ) if err != nil { return Element { } , err } return Element { el : el , } , nil }
FindByXPath finds an element by its XPath
FindByXPath finds an element by its XPath