Skip to content

How to create multiple "sessions" or "contexts" #1166

Answered by mdmintz
benjamin-kirkbride asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @benjamin-kirkbride There is a way to do that. Here are some methods you may need:

self.get_new_driver(
    browser=None, headless=None, locale_code=None, protocol=None,
    servername=None, port=None, proxy=None, agent=None, switch_to=True,
    cap_file=None, cap_string=None, disable_csp=None, enable_ws=None,
    enable_sync=None, use_auto_ext=None, no_sandbox=None, disable_gpu=None,
    incognito=None, guest_mode=None, devtools=None, remote_debug=None,
    swiftshader=None, block_images=None,
    chromium_arg=None, firefox_arg=None, firefox_pref=None,
    user_data_dir=None, extension_zip=None, extension_dir=None,
    is_mobile=None, d_width=None, d_height=None, d_p_r=None)

self.swi…

Replies: 1 comment 9 replies

Comment options

You must be logged in to vote
9 replies
@benjamin-kirkbride
Comment options

@mdmintz
Comment options

@mdmintz
Comment options

@mdmintz
Comment options

@benjamin-kirkbride
Comment options

Answer selected by mdmintz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants