Added ability to pass a list to press()