1. Go to this page and download the library: Download uuf6429/behat-breakpoint 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/ */
uuf6429 / behat-breakpoint example snippets
new \uuf6429\BehatBreakpoint\Breakpoint\AlertBreakpoint(
\Session $session, // The WebDriver session to work with.
string $message = NULL // (Optional) A message to show to the operator.
)
new \uuf6429\BehatBreakpoint\Breakpoint\ConsoleBreakpoint(
string $message = NULL, // (Optional) A message to show to the operator.
null|resource $output = NULL, // (Optional) Output handle (defaults to PHP's STDOUT)
null|resource $input = NULL // (Optional) Input handle (defaults to PHP's STDIN)
)
new \uuf6429\BehatBreakpoint\Breakpoint\PopupBreakpoint(
\Session $session, // The Mink session to work with. It must support javascript.
string $popupHtml, // The HTML of the popup page *body*.
int $popupWidth = 500, // (Optional) The popup's default width.
int $popupHeight = 300, // (Optional) The popup's default height.
bool $popupIsScrollable = false, // (Optional) Enables scrollbars (and scrolling) within the popup.
bool $popupIsResizeable = false // (Optional) Allows the popup to be resizeable.
)
new \uuf6429\BehatBreakpoint\Breakpoint\XdebugBreakpoint()
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.