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.2.tar.gz (5.0 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.2-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: selenium-session-client-1.0.2.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.2.tar.gz
Algorithm Hash digest
SHA256 5945875f5cfee81a61b4fa05e97cc889945a3f6edc1569b155c4bc7a596df414
MD5 b79b826f554121a74a10a6052597a1bd
BLAKE2b-256 cc451ac355b38c93c51daa0d28f6b30adb5f8ca32e9ee000501fa140d7bbe15f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for selenium_session_client-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 79691cc75e1d24a1f32ab894f0441dade77c1d23e903d9f583b7f6d7a050ef72
MD5 19c7469f0d378ca3014cea27ca279d39
BLAKE2b-256 85c3331ecbfef15e7ee70cfdfb970e5cf09a6f6ba681fb9de55e468363047f33

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