What steps will reproduce the problem?
1. try to create element e.g.
$this->driver->findElementBy(LocatorStrategy::id, 'surname');
2. in WebElement::__construct is thrown exception "trying to access protected
property".
What is the expected output? What do you see instead?
returned WebElement
What version of the product are you using? On what operating system?
missing, cannot determine
Please provide any additional information below.
Solution:
change line:
$root = $parent->requestURL;
$root = $parent->getRequestURL();
and add method into WebDriverBase:
public function getRequestURL(){
return $this->requestURL;
}
lubosdz
Original issue reported on code.google.com by lubosdz on 8 Feb 2012 at 1:51
Original issue reported on code.google.com by
lubosdz
on 8 Feb 2012 at 1:51