I am testing a Django application using Selenium and PhantomJS. I am debugging a test failure. Is there a way to make the headless PhantomJS appear unexpectedly like a real browser on the screen so that I can easily debug the problem?
Although opening a browser is not possible, you can take screenshots at the point of failure. This will help you understand why and where your test fails. http://phantomjs.org/screen-capture.html
Source: https://habr.com/ru/post/1202191/More articles:Scipy error: numpy.dtype resized, may indicate binary incompatibility (and the strange behavior associated with it) - pythonA file that defines the data structure for the Global Descriptor and Local Descriptor tables? - linuxHow to call the C # metalization function from C ++ in a C # application, so that the C ++ stacks unwind correctly? - c ++Using Pretender in an ember-cli application with a custom host name - ember.jsIs it normal that the "Pods / Products /" files are red / missing? - cocoapodsWhy does SignalR use IList in its contracts and everywhere in its internal components instead of IEnumerable? - c #Moving docker data volume containers between CoreOS hosts - linuxLEFT INTERACTION WITH STATE IN THE THIRD TABLE - sqlNewer soil with Grunt-uglify and Bower - bowerWhat code will run in the main browser thread? - javascriptAll Articles