public function getPageTreeElement()
    {
        $I = $this->tester;
        $I->switchToIFrame();
        return $I->executeInSelenium(function (\Facebook\WebDriver\Remote\RemoteWebDriver $webdriver) {
            return $webdriver->findElement(\WebDriverBy::cssSelector(self::$pageTreeSelector));
        });
    }
public function getPageTreeElement()
    {
        $I = $this->tester;
        $I->switchToIFrame();
        return $I->executeInSelenium(function (\Facebook\WebDriver\Remote\RemoteWebDriver $webdriver) {
            return $webdriver->findElement(\WebDriverBy::cssSelector(self::$pageTreeSelector));
        });
    }
public function getPageTreeElement ( ) { $ I = $ this -> tester ; $ I -> switchToIFrame ( ) ; return $ I -> executeInSelenium ( function ( \ Facebook \ WebDriver \ Remote \ RemoteWebDriver $ webdriver ) { return $ webdriver -> findElement ( \ WebDriverBy :: cssSelector ( self :: $ pageTreeSelector ) ) ; } ) ; }
Check if the pagetree is visible end return the web element object

@return RemoteWebElement
Check if the pagetree is visible end return the web element object