-
Notifications
You must be signed in to change notification settings - Fork 38
Open
Description
Hello,
I am using your code sample:
require_once('PHPUnit/Extensions/AppiumTestCase.php');
require_once('PHPUnit/Extensions/AppiumTestCase/Element.php');
class MySuperTests extends PHPUnit_Extensions_AppiumTestCase
{
public static $browsers = array(
array(
'local' => true,
'port' => 4723,
'browserName' => '',
'desiredCapabilities' => array(
'app' => APP_PATH
)
)
);
public function testStuff()
{
$element = $this->byAccessibilityId('Element on screen');
$this->assertInstanceOf('PHPUnit_Extensions_AppiumTestCase_Element', $element);
}
}
The following error occurred: Undefined index secure.
I think it was at fault appium/php-client/PHPUnit/Extensions/AppiumTestCase/SessionStrategy/Isolated.php@session line 24. 'secure' does not exist in variable parameters when start session.
Can you help me ?
Metadata
Metadata
Assignees
Labels
No labels