Skip to main content

Bypass your app login screen by managing your browser session (cookies)

Project description

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

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

selenium-session-client-1.0.3.tar.gz (5.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

selenium_session_client-1.0.3-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file selenium-session-client-1.0.3.tar.gz.

File metadata

  • Download URL: selenium-session-client-1.0.3.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for selenium-session-client-1.0.3.tar.gz
Algorithm Hash digest
SHA256 2013e955c2882087977bd16eea0ffc28714cd25f16291d1c4bbdb5a60e7fce47
MD5 52a463c9b9d506de2da23ecb3ac17153
BLAKE2b-256 33078118c9187321ce59d3ba9ad702909ff3fbbee7095c582a702f51bc297723

See more details on using hashes here.

File details

Details for the file selenium_session_client-1.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for selenium_session_client-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 4d23209a7ff882247ce5ab5404ad770811092d5a3ea7ca942bfdb103ce7a37e7
MD5 8588cf902c81407dc305bb0185c54cf2
BLAKE2b-256 00c0893d753e85c3b43869fafacd057ab67e0e420d6e1bfb8e8d767eac129c68

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page