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.
Metadata
Release files for sbvirtualdisplay 1.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| sbvirtualdisplay-1.4.0.tar.gz | 12.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| sbvirtualdisplay-1.4.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 25.1 kB
Release files / sbvirtualdisplay-1.4.0.tar.gz
| Download URL | sbvirtualdisplay-1.4.0.tar.gz |
|---|---|
| Size | 12.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
29a365b509cd7bfde4f758603b7b75703909b11cdf4245abc8f828ed35660d9b
|
|
BLAKE2b-256 checksum How to use checksums |
aa233c5b816b0c4de8452a8ceef5be39b4cdba05d8a15c214673c7cf4f4b499a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.11.9
|
Release files / sbvirtualdisplay-1.4.0-py3-none-any.whl
| Download URL | sbvirtualdisplay-1.4.0-py3-none-any.whl |
|---|---|
| Size | 12.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
516de155219aa342c4e090a3c5126cfe6b12416334bcba3255268e44a5e8a206
|
|
BLAKE2b-256 checksum How to use checksums |
de65832a5d0953f03c0b9bc267c58813aa51957b27c0902743f8e4d11d020dd1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.11.9
|