Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php /* * This file is part of PHP WebDriver Library. * (c) Alexandre Salom <alexandre..
Decoded Output download
<?php
/*
* This file is part of PHP WebDriver Library.
* (c) Alexandre Salom <[email protected]>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace WebDriver\Tests ;
use WebDriver\By;
class MouseTest extends AbstractTestCase
{
public function testElementMoveTo()
{
$browser = $this->getBrowser();
$browser->open($this->getUrl('mouse.php'));
$this->assertNotContains('You see this text because of hover', $browser->getText());
$browser->element(By::css('h1'))->moveTo();
$browser->element(By::css('.hover-wrapper .title'))->moveTo();
$this->assertContains('You see this text because of hover', $browser->getText());
}
public function testBrowserMoveTo()
{
$this->markTestSkipped('Fails...');
$browser = $this->getBrowser();
$browser->open($this->getUrl('mouse.php'));
$browser->moveTo(20, 200);
$this->assertContains('Position: 10-15', $browser->getText());
}
}
?>
Did this file decode correctly?
Original Code
<?php
/*
* This file is part of PHP WebDriver Library.
* (c) Alexandre Salom <[email protected]>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace WebDriver\Tests ;
use WebDriver\By;
class MouseTest extends AbstractTestCase
{
public function testElementMoveTo()
{
$browser = $this->getBrowser();
$browser->open($this->getUrl('mouse.php'));
$this->assertNotContains('You see this text because of hover', $browser->getText());
$browser->element(By::css('h1'))->moveTo();
$browser->element(By::css('.hover-wrapper .title'))->moveTo();
$this->assertContains('You see this text because of hover', $browser->getText());
}
public function testBrowserMoveTo()
{
$this->markTestSkipped('Fails...');
$browser = $this->getBrowser();
$browser->open($this->getUrl('mouse.php'));
$browser->moveTo(20, 200);
$this->assertContains('Position: 10-15', $browser->getText());
}
}
Function Calls
None |
Stats
MD5 | 30ba92e452eb8ac20c9d75157b094b06 |
Eval Count | 0 |
Decode Time | 104 ms |