ruby - Parse HTML modified by Javascript -
ruby - Parse HTML modified by Javascript -
i want submit form in webpage, when submit form web add together using javascript new fields. parse new fields. using mechanize not interpret javascript, have tested capybara want in background
are there alternative?
you can much easier without evaluating javascript using capybara's autowaiting enabled in capybara's methods. methods like:
find(locator)
will wait automatically 2 seconds. can alter limit specifiing value default_wait_time, e.g.:
capybara.default_wait_time = 5
ruby parsing html-parsing capybara mechanize
Comments
Post a Comment