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

Popular posts from this blog

web services - java.lang.NoClassDefFoundError: Could not initialize class net.sf.cglib.proxy.Enhancer -

Accessing MATLAB's unicode strings from C -

javascript - mongodb won't find my schema method in nested container -