You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 ?
The text was updated successfully, but these errors were encountered:
Hello,
I am using your code sample:
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 ?
The text was updated successfully, but these errors were encountered: