A customized pyvirtualdisplay for SeleniumBase.
Project description
sbVirtualDisplay (💻) 
A customized pyvirtualdisplay for use with SeleniumBase automation.
Usage example:
from sbvirtualdisplay import Display
display = Display(visible=0, size=(1440, 1880))
display.start()
# Run browser tests in a headless environment
display.stop()
Or as a context manager:
with Display(visible=0, size=(1440, 1880)):
# Run browser tests in a headless environment
...
When to use:
If you need to run browser tests on a headless machine (such as a Linux backend), and you can't use a browser's headless mode (such as Chrome's headless mode), then this may help. For example, Chrome does not allow extensions in headless mode, so if you need to run automated tests on a headless Linux machine and you need to use Chrome extensions, then this will let you run those tests using a virtual display.
More info:
- Xvfb is required for this to work.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sbvirtualdisplay-1.4.0.tar.gz.
File metadata
- Download URL: sbvirtualdisplay-1.4.0.tar.gz
- Upload date:
- Size: 12.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
29a365b509cd7bfde4f758603b7b75703909b11cdf4245abc8f828ed35660d9b
|
|
| MD5 |
dd6bd1ce559fc70589f79ed0a252495f
|
|
| BLAKE2b-256 |
aa233c5b816b0c4de8452a8ceef5be39b4cdba05d8a15c214673c7cf4f4b499a
|
File details
Details for the file sbvirtualdisplay-1.4.0-py3-none-any.whl.
File metadata
- Download URL: sbvirtualdisplay-1.4.0-py3-none-any.whl
- Upload date:
- Size: 12.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
516de155219aa342c4e090a3c5126cfe6b12416334bcba3255268e44a5e8a206
|
|
| MD5 |
edc32209beebfc15b7658d1ef13c8015
|
|
| BLAKE2b-256 |
de65832a5d0953f03c0b9bc267c58813aa51957b27c0902743f8e4d11d020dd1
|