pyvirtualdisplay Questions
2
Solved
I have written a web scraper for a mate to save him time at work. It is written in Python, using Selenium and opening a Firefox browser.
I have written this code myself on a Linux machine I use P...
Zircon asked 7/4, 2017 at 5:44
3
Solved
Trying to find how to avoid hanging Xvfb processes in our Python application, when using PyVirtualDisplay. The essential problem is that calling display.stop() (see code sample below) does not seem...
Vachon asked 27/8, 2013 at 22:28
0
I'm getting the following error when i try to run this simple python code
from pyvirtualdisplay import Display
disp = Display()
disp.start()
Error:
Traceback (most recent call last):
File "C...
Darkroom asked 20/3, 2022 at 18:2
2
Solved
My tests are working and running as expected with PyVirtualDisplay==0.2.1, but I have a problem with the latest version of this package (for example, PyVirtualDisplay==0.2.5).
My code snippet:
.....
Basement asked 30/12, 2019 at 12:4
1
I am using macOS Mojave and trying to run the following:
import torch
import torch.nn as nn
import torch.nn.functional as F
from torch import optim
import numpy as np
import pandas as pd
import ...
Biskra asked 25/9, 2019 at 14:20
2
Solved
I am running python-selenium tests inside a docker using a headless firefox.
During these tests I am able to make screenshots with the selenium method for screenshots - but can I use something to '...
Ammonite asked 5/7, 2018 at 13:10
2
Solved
I'm trying to setup a display but it's telling me No such file or directory.
Traceback (most recent call last):
File "/var/www/envs/venv/proj/scripts/my_file.py", line 44, in click
display = Dis...
Anklebone asked 24/8, 2015 at 2:51
3
Solved
I'm trying to run a web browser in a virtual display, using the Python library pyvirtualdisplay, which relies on Xvfb. The problem is that I need that browser to be maximized, something I'm not ach...
Eufemiaeugen asked 12/8, 2013 at 8:37
1
Solved
I have a script using a headless browser which I'm running using crontab -e. It runs fine the first few times and then crashes with the following Traceback:
Traceback (most recent call last):
Fil...
Endotoxin asked 15/11, 2016 at 14:16
1
Solved
I am trying to automatize a website how have a SWF inside.
I cant move the mouse with selenium, because is a SWF,so to fix this I use the pyautogui library.
Everything works fine!, but! when I us...
Rump asked 4/3, 2016 at 14:27
1
I have a selenium test which I am trying to run Headlessly on my ubuntu server. It uses pyvirtualdisplay and xephyr. Though the script is running fine in my local system, it hangs when I run it in ...
Saporific asked 19/3, 2014 at 6:59
1
Solved
For virtual Framebuffer (headless testing) I'm using Xvfb with PyVirtualDisplay and it's working fine in Ubuntu but showing error in Windows7. here is part of code where problem is occurring.
from...
Tholos asked 11/1, 2014 at 15:3
1
© 2022 - 2024 — McMap. All rights reserved.