Skip to content

Instantly share code, notes, and snippets.

@sumitk-uwc
sumitk-uwc / xvfb_screen_recording.py
Created January 25, 2024 14:07 — forked from t-io/xvfb_screen_recording.py
ScreenRecording xvfb
from selenium import webdriver
import sys, getopt, time, subprocess, shlex
from xvfbwrapper import Xvfb
def run():
print('Sreencast website animation')
xvfb = Xvfb(width=1280, height=720, colordepth=24)
xvfb.start()