Lines Matching +defs:select +defs:name
22 protected $name;
31 $this->name = $element->getAttribute('name');
32 if ($this->name === null) {
33 throw new WebDriverException('The input does not have a "name" attribute.');
97 * @param bool $select
100 protected function byValue($value, $select = true)
104 $select ? $this->selectOption($element) : $this->deselectOption($element);
123 * @param bool $select
126 protected function byIndex($index, $select = true)
133 $select ? $this->selectOption($elements[$index]) : $this->deselectOption($elements[$index]);
141 * @param bool $select
143 protected function byVisibleText($text, $partial = false, $select = true)
180 $select ? $this->selectOption($element) : $this->deselectOption($element);
188 * Gets checkboxes or radio buttons with the same name.
203 sprintf('.//input[@name = %s%s]', XPathEscaper::escapeQuotes($this->name), $valueSelector)
211 '//form[@id = %1$s]//input[@name = %2$s%3$s'
213 . ' | //input[@form = %1$s and @name = %2$s%3$s]',
215 XPathEscaper::escapeQuotes($this->name),