Skip to main content

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

Project description

Python client

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 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.1.tar.gz (5.0 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for selenium-session-client-1.0.1.tar.gz
Algorithm Hash digest
SHA256 18231e0d23611dd89dfa0436c1194cdacba0e3de2dc83c9ab926841259932f19
MD5 48b9c5639d0af909dce29d601fb9ac0a
BLAKE2b-256 e6422171571006a7f6c7d75292ab03fbf361a60cb60bc8568874215f087ebf37

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