SeleniumLibrary icon indicating copy to clipboard operation
SeleniumLibrary copied to clipboard

Discuss/Consider using a dictionary or single argument for timing parameters on library import

Open emanlove opened this issue 2 years ago • 1 comments

With the recent addition of the page load timeout [#1535] and the action chain delay [#1768] parameters along with the upcoming addition of waiting for expected conditions [#1827] and getters for the timeout settings [#1825], I raised up the question of whether or not we have to many library import arguments. In the same light as the way multiple timeout settings may be inquired, could we make the timeout / timing / delay attributes a single argument, maybe as a dictionary, that can be passed to the library import.

emanlove avatar May 18 '23 01:05 emanlove

I personally would consider a dictionary an unnecessary complexity.

multiple arguments are specially for library inits better for users.

Snooz82 avatar Sep 18 '23 18:09 Snooz82

Closing as won't implement. I agree dmultiple arguments would be better than a dictionary for timeout values. This also needs to be evaluated in regards to any changes to the timeouts and waiting architecture.

emanlove avatar Oct 07 '25 22:10 emanlove