* [task#136195,doing,0.1h,2.6h] Add xpath.
This commit is contained in:
Executable
+13
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
class linkCasePage extends page
|
||||
{
|
||||
public function __construct($webdriver)
|
||||
{
|
||||
parent::__construct($webdriver);
|
||||
$xpath = array(
|
||||
'num' => "//*[@id='table-testtask-linkcase']/div[3]/div[2]/strong",
|
||||
'checkbox' => "//*[@id='table-testtask-linkcase']/div[2]/div[1]/div/div[1]/div/div",
|
||||
);
|
||||
$this->dom->xpath = array_merge($this->dom->xpath, $xpath);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user