Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Andrew/user data dir #16

Merged
merged 2 commits into from
Aug 20, 2024
Merged

Conversation

ayjayt
Copy link
Collaborator

@ayjayt ayjayt commented Aug 19, 2024

Se agrega unas banderas a chrome para separar la ejecución de nuestra instancia a chrome de la del usuario-

se crea un directorio vacío y temporal que se pone como directorio de datos del usuario para la sesión nuestra de chrome.

se mejora el comportamiento en respeto a otras instancias a chrome ya abiertas

ayjayt added 2 commits August 19, 2024 16:37
Adding a temporary directory as --user-data-dir to chrome flags will
trick chrome into thinking a new user is running chrome, and therefore
wont interfere with the currently running session.
@neyberson
Copy link
Collaborator

Revisé sobre tempfile.TemporaryDirectory() y aún tengo algunas dudas pero entiendo de forma general la idea

@neyberson neyberson merged commit 591537b into neyberson/connection Aug 20, 2024
1 check passed
@neyberson neyberson deleted the andrew/user-data-dir branch August 20, 2024 19:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants