Giter Club home page Giter Club logo

Comments (5)

AlexSkrypnyk avatar AlexSkrypnyk commented on June 2, 2024

@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.

JorgeSivil avatar JorgeSivil commented on June 2, 2024

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.

JorgeSivil avatar JorgeSivil commented on June 2, 2024

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.

AlexSkrypnyk avatar AlexSkrypnyk commented on June 2, 2024

@JorgeSivil

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.

JorgeSivil avatar JorgeSivil commented on June 2, 2024

thanks, my bad

from behat-screenshot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.