Recording headless chrome - java

I currently have some UI tests running in Jenkins using headless Chrome.
I am able to take screenshots but I was wondering how I could record videos from my testruns.
I read that xvfb is a possibility but since headless chrome is available, I was wondering if it would be possible to do this via devtools itself or some Java library.
Thanks in advance.
Regards

Related

Chrome and selenium headless on and off?

How can i turn on headless mode using java and selenium, and after doing some code turn it off and show the current page?
I already tried using options.setHeadless(false) but it did not work.
Refer to this question already asked:
Switching between headed and headless for a single task in Selenium

Java Headless browser with Flash Support

I'm looking for a fast and reliable headless browser for Java that can interact with flash elements. I have already looked into PhantomJS, but there are too many errors when I try to run tests with PhantomJS on my target website. It also doesn't have flash support at all. If anyone knows of a headless browser that can interact with flash elements that would be great! Thanks!
Edit: So it appears that I need to state a problem and what I've done to try and solve it. The problem is that twitch.tv uses flash for many elements on their website, and when I try to run a headless browser such as HTMLUnit in Java or PhantomJS, they can't interact with those flash elements. I would like to know a workaround/solution for how I can continue using headless browsing but be able to interact with SWF elements.

Technology stack required for development of WEB video conference application?

We have requirement to develop a full fledged WEB application which should support the following functionality in any browser/tablets/android/ios?
video conference one to one.
video conference one to many.
screen sharing.
video/screen recording.
I have already gone through WebRTC which has browser compatibility issues on IE and Safari for video chat and it seems the screen sharing works only on chrome to chrome browser.
Can anyone help me on technology stacks to achieve above?
At this point in time, the best way to do the above is to write plugins for the IE and Safari that do not (yet?) support WebRTC and use WebRTC for the Chrome and Firefox. You might be tempted to also write plugins for Chrome and Firefox but they are phasing out plugins so that is not a good long term solution.
Try http://skylink.io/
They are already providing plugins for IE and Safari alongwith a stack of SDKs to build an application on top of it.

Selenium, WebDriver for Chrome Stopping the window opening

When using the WebDriver driver for Chrome a chrome window opens, and navigates to the specified page.
Is there a way to stop the window from opening?
Edit: I am using it to scrape the web page so there is no need for me to see the actual webpage. The desired behaviour would be that the scraping would be done "Silently"?
What you are talking about is called a headless browser.
You have several options to choose from:
fake a display and let selenium and a browser think you have a real one. See xvfb.
use PhantomJS browser
run your tests against BrowserStack or SauceLabs selenium servers (or have your own one)
See also:
Selenium Headless Automated Testing in Ubuntu
Getting Started with GhostDriver & PhantomJs

Firefox freeze while working with selenium

i'm currently working on an automation project that use selenium on Firefox
my test works find as long that i'm not focus on the Firefox windows
once i focus on the Firefox window its immediately freeze without recovery
i disabled all security options and i have no more ideas what to do
so the question is how can i prevent firefox from freezing on me
(i'm working with Firefox version 3.6.28)

Categories