Python client
The Python Selenium Session Client (SSC) integrates into your tests, retrieves the session information from the Selenium Session Server and applies the session cookies into the running selenium browser.
Note that support to the Selenium Session Manager and its components is available at the BlinqIO forum: https://community.blinq.io/ .
Following is a code example to integrate it into your Python Selenium tests:
import os
from time import sleep
from selenium import webdriver
from selenium.webdriver.chrome.service import Service
from selenium_session_client.session_client import init_session
def test():
driver = webdriver.Chrome('chromedriver')
init_session(driver, ['github'])
driver.get("https://github.com/")
sleep(5)
driver.quit()
test()
To add the dependencies into your project:
PIP
pip install selenium-session-client
Release files for selenium-session-client 1.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| selenium-session-client-1.0.3.tar.gz | 5.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| selenium_session_client-1.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.4 kB
Release files / selenium-session-client-1.0.3.tar.gz
| Download URL | selenium-session-client-1.0.3.tar.gz |
|---|---|
| Size | 5.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2013e955c2882087977bd16eea0ffc28714cd25f16291d1c4bbdb5a60e7fce47
|
|
BLAKE2b-256 checksum How to use checksums |
33078118c9187321ce59d3ba9ad702909ff3fbbee7095c582a702f51bc297723
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Release files / selenium_session_client-1.0.3-py3-none-any.whl
| Download URL | selenium_session_client-1.0.3-py3-none-any.whl |
|---|---|
| Size | 3.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4d23209a7ff882247ce5ab5404ad770811092d5a3ea7ca942bfdb103ce7a37e7
|
|
BLAKE2b-256 checksum How to use checksums |
00c0893d753e85c3b43869fafacd057ab67e0e420d6e1bfb8e8d767eac129c68
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|