public function PhantomJSDriver::getTagName in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/jcalderonzumba/mink-phantomjs-driver/src/PhantomJSDriver.php \Zumba\Mink\Driver\PhantomJSDriver::getTagName()
Gets the tag name of a given xpath
Parameters
string $xpath:
Return value
string
Throws
Overrides CoreDriver::getTagName
1 call to PhantomJSDriver::getTagName()
- PhantomJSDriver::attachFile in vendor/
jcalderonzumba/ mink-phantomjs-driver/ src/ PhantomJSDriver.php - Upload a file to the browser
File
- vendor/
jcalderonzumba/ mink-phantomjs-driver/ src/ PhantomJSDriver.php, line 40
Class
- PhantomJSDriver
- Class PhantomJSDriver @package Behat\Mink\Driver
Namespace
Zumba\Mink\DriverCode
public function getTagName($xpath) {
$elements = $this
->findElement($xpath, 1);
return $this->browser
->tagName($elements["page_id"], $elements["ids"][0]);
}