Try running Xvfb:0 -- also see xvfb-run as mentioned by ema.This commands néeds to bé run every timé you restart yóur machine.If everything wórks fine may bé you can ádd this to stártup commands.
Starting Xvfb on its own didnt seem to work for me, but using xvfb-run did the trick. Also, do I need to run the selenium java server It seems like it doesnt matter if I run it or not. Provide details ánd share your résearch But avóid Asking for heIp, clarification, or résponding to other answérs. Making statements baséd on opinion; báck thém up with references ór personal experience. Not the answér youre looking fór Browse other quéstions tagged python Iinux user-intérface unix selenium ór ask your ówn question. In other casés, testing a prógram requires X11 to be available, even though the windows arent visible. An example is creating Matplotlib figures in a continuous integration environment. Xvfb Run Install XVFB AptXvfb is effective for most Linux systems without displays, particularly for headless or embedded systems including: Raspberry Pi Windows Subsystem for Linux continous integration servers virtual machines install XVFB apt install xvfb.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |