Introduction
WPSelenium comes with the ability to add support for different PHP frameworks/libraries, such as WordPress (see below). This support varies from extending the WPSTestCase with framework specific helper functions, to changing the way tests are run.
To use a helper type, use the --type
arguement when running wpselenium. An example of this is below:
/vendor/bin/wpselenium chrome --type wordpres
Below we cover the WordPress Helper which comes inbuilt with WPSelenium.