Is it possible to configure the PantherBrowser that it introspects/pause the browser by an error?
Example:
->click('#form_wrong_id')
Actual Behaviour:
The Browser closes and an error will be shown.
Clickable element "#form_wrong_id" not found.
I insert a pause() command before the line and fix the selector. Delete the pause() command.
Check if it works and repeat the steps until it works.
Desired Behaviour:
Set an optional option (default: false)
$this->pantherBrowser(['SET_OPTION_PAUSE_BY_ERROR'] => true)
If an error will rise, it starts the introspection-Mode and give some Feedback about the error.
So i do not need add/remove the pause() function all over.
Is it possible to configure the PantherBrowser that it introspects/pause the browser by an error?
Example:
->click('#form_wrong_id')
Actual Behaviour:
The Browser closes and an error will be shown. Clickable element "#form_wrong_id" not found.
I insert a pause() command before the line and fix the selector. Delete the pause() command. Check if it works and repeat the steps until it works.
Desired Behaviour:
Set an optional option (default: false) $this->pantherBrowser(['SET_OPTION_PAUSE_BY_ERROR'] => true)
If an error will rise, it starts the introspection-Mode and give some Feedback about the error. So i do not need add/remove the pause() function all over.