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

add example Behat #26

Merged
merged 1 commit into from
Aug 18, 2023
Merged

add example Behat #26

merged 1 commit into from
Aug 18, 2023

Conversation

tyler36
Copy link
Collaborator

@tyler36 tyler36 commented Mar 9, 2023

Fixes #21

This PR adds an example snippet for using this addon with Drupal and Behat.

I kept the base_url as http to match the environmental variables you have set in config.selenium-standalone-chrome.yaml

If base_url is set to https://web, an additional switch is required: - "--ignore-certificate-errors".

Tested

  • Works asBehat\MinkExtension extension
  • Works when changing to Drupal\MinkExtension extension
  • Comment out - "--headless" to watch in noVNC

Note: if I commented out the capabilities section, Behat freezes. It didn't seem to matter what switches I used, as long as it was there.

@bserem
Copy link

bserem commented Mar 10, 2023

Approved!

I tested this, works flawlessly.

@weitzman weitzman merged commit 5eb077b into ddev:main Aug 18, 2023
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.

Examples for Behat would be great
3 participants