Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix quiet crash when crawler is null #1714

Merged
merged 1 commit into from
Feb 16, 2015
Merged

Fix quiet crash when crawler is null #1714

merged 1 commit into from
Feb 16, 2015

Conversation

aivus
Copy link
Contributor

@aivus aivus commented Feb 12, 2015

When amOnPage is not called and try to call some function like fillField (with XPath-rule) the codeception quiet crashed without any errors.

It happened because crawler->filterXPath wrapped by "@".

This PR provide additional check on crawler exist

@DavertMik
Copy link
Member

Yeah, that's really helpful. Thank you!

DavertMik added a commit that referenced this pull request Feb 16, 2015
Fix quiet crash when crawler is null
@DavertMik DavertMik merged commit 4e26729 into Codeception:2.0 Feb 16, 2015
@aivus aivus deleted the fix-quiet-crash branch June 23, 2018 07:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants