Closed matthewmcgarvey closed 3 years ago
For instance, you should be able to set a binary in chrome options but you can't since the type of the hash is Hash(String, Array(String))
Hash(String, Array(String))
https://github.com/matthewmcgarvey/selenium.cr/blob/5e4e0f563bf6c06e9713fb1ee50c59cbd799345b/src/selenium/chrome/capabilities.cr#L2-L3
I'm not sure having a class is the best idea. Maybe it should be a method that dynamically creates the capabilities hash.
For instance, you should be able to set a binary in chrome options but you can't since the type of the hash is
Hash(String, Array(String))
https://github.com/matthewmcgarvey/selenium.cr/blob/5e4e0f563bf6c06e9713fb1ee50c59cbd799345b/src/selenium/chrome/capabilities.cr#L2-L3
I'm not sure having a class is the best idea. Maybe it should be a method that dynamically creates the capabilities hash.