Comments (5)
@samtuke
Could you please clarify what kind of test you were running. Was it a Selenium-based test? If so, was Selenium running? There is a known issue with screenshots silently failing if Selenium is not running.
from behat-screenshot.
Hello @alexdesignworks, could you add to the docs that I need to put the Context in the behat.yml? Because I'm a newbie, and wasn't doing that, and Behat was telling me to implement Then I save screenshot
from behat-screenshot.
And on topic: @samtuke are you running a terminal test (headless browser)?
I have my tests working under Linux.
I start selenium using this: export DISPLAY=:10; java -Dwebdriver.chrome.driver=/usr/bin/chromedriver -jar selenium-server-standalone-3.12.0.jar &
The display value comes from Xvfb (sudo apt-get -y install xvfb gtk2-engines-pixbuf)
You can get the display name using ps -Af | grep xvfb, after you run Xvfb obviously, please Google the apt-get command to get the tutorial
Google chrome must be installed (and chromedriver), because Firefox 60 and geckodriver are failing to find the elements
from behat-screenshot.
could you add to the docs that I need to put the Context in the behat.yml
It is in the README.md - https://github.com/integratedexperts/behat-screenshot/blame/master/README.md#L26
from behat-screenshot.
thanks, my bad
from behat-screenshot.
Related Issues (20)
- Exception thrown if Selenium Driver's session has not been started
- Configure screenshot name pattern in behat.yml HOT 6
- Compatibility with Drupal 9 HOT 1
- Record scenario screenshots for every step HOT 3
- Configurable (templated) filenames for captures HOT 1
- Make initialisation consistent for Selenium and non-Selenium drivers HOT 1
- Move to the DrevOps namespace HOT 1
- Use with headless browsers HOT 3
- Video record of test with chrome HOT 1
- Update repo structure to https://github.com/AlexSkrypnyk/scaffold HOT 1
- Install Docker Compose in CircleCI tasks HOT 1
- Selenium fails to connect (local and CircleCI) HOT 1
- Dependency Dashboard
- Unable to upgrade to the latest Selenium Docker container HOT 2
- Update step definition "language" to be consistent with Gherkin standards
- symfony 7, drop unsupported symfony HOT 1
- Move CI to GHA
- Update to Scaffold 0.12.1
- Update to 1.3.0 incompatible with drupal/drupal-extension requirements for symfony/http-client HOT 1
- Update readme and behat.yml.dist to contain new options added in #37
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from behat-screenshot.