+ [task#127603] Add xpath file of browse page.

This commit is contained in:
huairong
2024-09-06 09:43:56 +08:00
committed by 李阳
parent 2f621caba0
commit 9e9b1ff80a
+15
View File
@@ -0,0 +1,15 @@
<?php
class browsePage extends page
{
public function __construct($webdriver)
{
parent::__construct($webdriver);
$xpath = array(
'designName' => "//*[@id='table-design-browse']/div[2]/div[1]/div/div[2]/div/a",
'linkedProduct' => "//*[@id='table-design-browse']/div[2]/div[2]/div/div[1]/div",
'designType' => "//*[@id='table-design-browse']/div[2]/div[2]/div/div[2]/div/span",
);
$this->dom->xpath = array_merge($this->dom->xpath, $xpath);
}
}