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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[馃殌 Feature]: Change default TTLs in Selenium Manager #11686

Closed
bonigarcia opened this issue Feb 20, 2023 · 1 comment
Closed

[馃殌 Feature]: Change default TTLs in Selenium Manager #11686

bonigarcia opened this issue Feb 20, 2023 · 1 comment

Comments

@bonigarcia
Copy link
Member

Feature and motivation

So far, Selenium Manager uses a couple of TTL values for the resolved browser and driver version. The default values for these TTLs are (in seconds):

  • TTL_drivers : 86400
  • TTL_browsers : 0

If the user wants to change this default behavior, the following flags need to be implemented on the Rust side:

--driver-ttl <TTL>
--browser-ttl <TTL>

Usage example

selenium-manger --browser chrome --driver-ttl 43200
selenium-manger --browser chrome --browser-ttl 3600
bonigarcia pushed a commit that referenced this issue Mar 3, 2023
* add ttl parameter to cli

update documentation

* fix typo un64->u64

* fix typo for single quotes

* fix parameters short names

* fix devault_value for new parameters

* fix for type default value

* fix typo with duplicate args
Copy link

github-actions bot commented Dec 2, 2023

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked and limited conversation to collaborators Dec 2, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
Status: Done
Development

No branches or pull requests

2 participants