I am attempting to automate the clicking of the "more" button located at the bottom of a page like using watir. Below is the code I currently have:
require 'watir-webdriver'
b = Watir::Browser.new
b.goto 'quora.com/'+ ARGV[2] + '/best_questions'
show_more = b.button(:id => "more_button")
show_more.click
However, I am encountering difficulties in locating the id of the button in DOM. I'm uncertain if this is the correct approach to achieve my goal.