SeleniumLibrary
SeleniumLibrary copied to clipboard
Typing issues when using SeleniumLibrary directly from python.
select_from_list_by_index expects the index to be <str> .. calling from RF side, this is not an issue but doesnt make sense when called from python ..
create_webdriver also returns <str> but register_webdriver then returns <int>
Action:
Go thru the type annotations that refer to index and allow passing of <int> instead of only <str>
PS. Typically RF itself doesnt get issues with this sort of type annotations - issue is mainly now apparent because plenty of Robocorp customers are making "pure python robots".
If someone can spot other similar issues - please share ?