How to automate non-default profile dynamically?
See original GitHub issueIf chrome is launched with Profile 1
:
await launch({
userDataDir: <PROFILE_NAME>, // `Profile 1`
})
Can we execute an event on Profile 2
?
Maybe a better question is what kind of boundary is this profile boundary? I can launch with Profile 1
, then manually switch profiles to Profile 2
. If so, is there a way to do the same from code? Maybe something via devtools protocol?
Issue Analytics
- State:
- Created 4 years ago
- Comments:11 (4 by maintainers)
Top Results From Across the Web
Creating Ingest Profiles for Dynamic Delivery
This topic provides an overview of how to create custom ingest profiles for use with Dynamic Delivery transcoding.
Read more >Dynamic Sender Profile - Salesforce Help
To use dynamic sender profiles with Marketing Cloud Connect, create and map attributes across clouds, and build a sender profile with those attributes....
Read more >How to create dynamic configuration files using Ansible ...
More about automation · Define a template · Using variables · Conditional configuration · Use Ansible facts · Looping · Define default values...
Read more >Add users to an environment - Power Platform - Microsoft Learn
... that have no Dataverse database, because all users in the organization are present in these environments by default. However, for a user...
Read more >Create a Setup or Dynamic profile
NOTE — If you want to use a profile template (recommended configurations) instead of creating one from scratch, then Dynamic Edition is set...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
well… you can use any user-data-dir. and a single user-data-dir can contain multiple profiles. but there is a default profile. and it will use that one.
and yah… you can’t change it (or open a new window using a diff one) using any automated way. the devtools protocol doesnt deal with stuff like that.
https://vanilla.aslushnikov.com/?Target.createBrowserContext is kinda similar but not
you currently can’t dynamically change what profile is being used by chrome. or launch a new chrome window with a diff profile folder.
the chrome binary must be relaunched.