*[task#126441] Modify xpath of instance view.

This commit is contained in:
luxuyang
2024-08-26 17:04:19 +08:00
committed by 陆旭阳
parent f4df37f76a
commit 7badf7adb8
+2 -2
View File
@@ -5,8 +5,8 @@ class viewPage extends page
{
parent::__construct($webdriver);
$xpath = array(
'passwdCopy' => "//*[@id='password']/following-sibling::button",
'tokenCopy' => "//*[@id='token']/following-sibling::button"
'copyButton' => "//div[@id='instanceInfoContainer']//button",
'toast' => "//div[text()='复制成功']"
);
$this->dom->xpath = array_merge($this->dom->xpath, $xpath);