*[task#62057,doing,0.2h,5h] Add xpath of browse.

This commit is contained in:
lihuifang
2025-08-22 14:03:24 +08:00
parent e3738a6046
commit f313428e17
+3 -2
View File
@@ -16,9 +16,10 @@ class browsePage extends page
'exportMenu' => "//button[@type='button' and contains(@zui-toggle-dropdown,'export')]/i",
'exportCaseButton' => "//menu/li/a[contains(@href,'=export&')]",
'automation' => "//a[contains(@href,'automation')]",
'batchEdit' => "//span[text()='编辑']"
'batchEdit' => "//span[text()='编辑']",
'onlyScene' => "//*[@id='featureBar']/menu/li[7]/a"
);
$this->dom->xpath = array_merge($this->dom->xpath, $xpath);
}
}
}