+ [task#135061,done,0.2h] add element of edit page.

This commit is contained in:
huairong
2024-12-24 14:30:30 +08:00
committed by 李阳
parent 8cf1c659cd
commit 0f25eadbcb
+15
View File
@@ -0,0 +1,15 @@
<?php
class editPage extends page
{
public function __construct($webdriver)
{
parent::__construct($webdriver);
$xpath = array(
'key' => "//*[@id='zin_stakeholder_edit_1_form']/div[1]/div/div[2]/label",
'personality' => "//*[@id='zin_stakeholder_edit_1_form']/div[2]/div/zen-editor",
'impactAnalysis' => "//*[@id='zin_stakeholder_edit_1_form']/div[3]/div/zen-editor",
'response' => "//*[@id='zin_stakeholder_edit_1_form']/div[4]/div/zen-editor",
);
$this->dom->xpath = array_merge($this->dom->xpath, $xpath);
}
}