Add last() for iOS

find_element(:xpath, '//button[last()]')