Skip to content
This repository has been archived by the owner on Dec 22, 2018. It is now read-only.

Unable to highlight the browser opened by selenium #17

Open
JasminQin opened this issue May 8, 2017 · 0 comments
Open

Unable to highlight the browser opened by selenium #17

JasminQin opened this issue May 8, 2017 · 0 comments

Comments

@JasminQin
Copy link

JasminQin commented May 8, 2017

Hello,

I used the video reporter and was able to record my screen, here is my protractor.conf.js snippet:

onPrepare: function() {
		xvfb.startSync();
		jasmine.getEnv().addReporter(new SpecReporter());
		jasmine.getEnv().addReporter(new jasmineReporters.JUnitXmlReporter({
	        consolidateAll: true,
	        savePath: 'testresults',
	        filePrefix: 'xmloutput'
	    }));
	    jasmine.getEnv().addReporter(new VideoReporter({
    		baseDirectory: './protractor-http/videos',
    		saveSuccessVideos : true,
    		ffmpegCmd : '/usr/local/bin/ffmpeg',
    		ffmpegArgs: [
				'-y',
				'-r', '30',
				'-f', 'avfoundation',
				'-i', '1',
				'-g', '300',
				'-vcodec', 'mpeg4'
			]
		}));
		......
	},

Since I spin up the test from command line, the whole recording is focus on the command console... is there a way the recorder and intelligently find the chrome browser spinned up on the fly and shift the recording to that window only?

Thank you.
Jasmine

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant