I'd like to simulate click on "Choose" button for automatic testing purpose, but unfortunately I have no idea how to achieve that. Operation system is Ubuntu 16.04. I'd be grateful for code example.
Call your button-handler from wherever you want to test it from.