SeleniumLibrary
SeleniumLibrary copied to clipboard
Discuss/Consider using a dictionary or single argument for timing parameters on library import
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.
I personally would consider a dictionary an unnecessary complexity.
multiple arguments are specially for library inits better for users.
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.