+ [task#125557,doing,0.3h,0.2h] add create maintain xpath.

This commit is contained in:
luxuyang
2024-08-12 15:37:48 +08:00
committed by 陆旭阳
parent a58b40fd94
commit 9696895ec3
+15
View File
@@ -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);
}
}