+ [task#125557,doing,0.3h,0.2h] add create maintain xpath.
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
class createPage extends page
|
||||
{
|
||||
public function __construct($webdriver)
|
||||
{
|
||||
parent::__construct($webdriver);
|
||||
$xpath = array(
|
||||
'aclPrivate' => '//*[@id="acl[acl]private"]',
|
||||
'aclOpen' => '//*[@id="acl[acl]open"]',
|
||||
'aclCustom' => '//*[@id="acl[acl]custom"]'
|
||||
);
|
||||
|
||||
$this->dom->xpath = array_merge($this->dom->xpath, $xpath);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user