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
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.
The text was updated successfully, but these errors were encountered:
Chris53897
changed the title
Question:
Question: Introspect/pause the browser by an error
Aug 19, 2022
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.
The text was updated successfully, but these errors were encountered: