* [task#128684,doing,0.3h,4.5h] Add xpath.

This commit is contained in:
yulujie
2024-09-20 10:00:41 +08:00
committed by 李阳
parent 067409c45d
commit b96e7e2e48
+13
View File
@@ -0,0 +1,13 @@
<?php
class linkStoryPage extends page
{
public function __construct($webdriver)
{
parent::__construct($webdriver);
$xpath = array(
'firstCheckbox' => "//*[@id='table-execution-linkstory']/div[2]/div/div/div[1]/div/div",
'saveBtn' => "//*[@id='table-execution-linkstory']/div/nav[1]/button",
);
$this->dom->xpath = array_merge($this->dom->xpath, $xpath);
}
}