[task#128855, 1h] add the xpath in the page of batch close story.

This commit is contained in:
lijie
2024-09-29 10:46:11 +08:00
committed by 曹延义
parent 868d3183ad
commit 0580ac0a71
+13
View File
@@ -0,0 +1,13 @@
<?php
class batchClosePage extends page
{
public function __construct($webdriver)
{
parent::__construct($webdriver);
$xpath = array(
'batchClosedReason' => "/html/body/div[1]/div/div/div/div[2]/form/div[1]/table/tbody/tr/td[6]/div[2]/div[1]/div",
'batchClosedSave' => "//*[@id='zin_story_batchclose_formBatch']/div[2]/button[1]"
);
$this->dom->xpath = array_merge($this->dom->xpath, $xpath);
}
}