Skip to content
This repository was archived by the owner on Sep 29, 2025. It is now read-only.
This repository was archived by the owner on Sep 29, 2025. It is now read-only.

Profile inheritance #49

@tnt2k

Description

@tnt2k

Tell me how to inherit a profile when opening a new tab or when clicking on a link from a window with a profile?
For some reason, my profile flies when I open a new tab. Found a solution to this problem via

driver.profiles.apply(profile)

and that results in an warnings

UserWarning: profile["options"] can't be applied when driver allready started
   warnings.warn('profile["options"] can\'t be applied when driver allready started')

, this warning is understandable since the proxy options are specified, but for some reason when trying to apply

driver.profiles.apply(profile["cdp" ])

getting the error

ValueError: 'touch' isn't a valid key for profile (selenium-profiles)

?

I did not understand how to solve the problem with following a link from a tab with a changed profile to a new tab opening.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions