* [task#136195,doing,0.1h,2.6h] Add xpath.

This commit is contained in:
yulujie
2025-01-06 11:01:33 +08:00
committed by 李阳
parent def97a9d6d
commit 12632f19f8
+13
View File
@@ -0,0 +1,13 @@
<?php
class linkCasePage extends page
{
public function __construct($webdriver)
{
parent::__construct($webdriver);
$xpath = array(
'num' => "//*[@id='table-testtask-linkcase']/div[3]/div[2]/strong",
'checkbox' => "//*[@id='table-testtask-linkcase']/div[2]/div[1]/div/div[1]/div/div",
);
$this->dom->xpath = array_merge($this->dom->xpath, $xpath);
}
}