PHP code example of devchid / wpselenium
1. Go to this page and download the library: Download devchid/wpselenium library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
devchid / wpselenium example snippets
xml
<wpselenium>
<siteUrl>http://localhost:3000</siteUrl>
<phpunit bootstrap="vendor/autoload.php">
<testsuites>
<testsuite name="WPSelenium Sample Tests">
<file>vendor/devchid/wpselenium/src/Sample/SampleTest.php</file>
</testsuite>
</testsuites>
</phpunit>
</wpselenium>