Skip to content

Instantly share code, notes, and snippets.

View testingplusme's full-sized avatar

Michał testingplusme

View GitHub Profile
public string VideoInHtml(string sessionId)
{
//Place where you put url address to Selenoid
var html = $"<html><body><video width=\'100%\' height=\'100%\' controls autoplay><source src=\'http://addressToYourSelenoid:4444/video/{sessionId}.mp4' type=\'video/mp4\'></video></body></html>";
return html;
}
node {
stage 'Checkout'
checkout scm
stage 'Build'