Am Sonntag, 18. Juni 2017 14:37:12 UTC+2 schrieb Colin Law:
>
> On 18 June 2017 at 12:21, Martin Luy <[email protected] <javascript:>> 
> wrote: 
> > I'm extracting content from some websites. Currently I evaluate HTML 
> code 
> > using Nokogiri. But the relevant content is not contained in the 
> responded 
> > body of the HTTP GET request. This is because there is some Javascript 
> code 
> > like $(window).load() or $(document).ready() that will send some Ajax 
> > requests and fill the original HTML code. 
> > 
> > So I'm searching for some library that automatically executes Javascript 
> > code and Ajax requests just like a normal browser. 
>
> Understood. Don't think I can help I am afraid. Does the site not work 
> with js disabled in the browser? 
>
> Colin 
>

Unfortunately they completely rely on js, there's nothing working without.

Is there some tool coming close to my use case, or some testing tool that I 
could use for my purpose without writing test?

Martin

>
> > 
> > Martin 
> > 
> > Von meinem Samsung Gerät gesendet. 
> > 
> > 
> > -------- Ursprüngliche Nachricht -------- 
> > Von: Colin Law <[email protected] <javascript:>> 
> > Datum: 18.06.17 09:42 (GMT+01:00) 
> > An: "Ruby on Rails: Talk" <[email protected] <javascript:>> 
> > Betreff: Re: [Rails] browser simulator independent of web framework 
> > 
> > On 17 June 2017 at 22:58, Martin L. <[email protected] <javascript:>> 
> wrote: 
> >> Hi all, 
> >> 
> >> Is there any browser simulator that fulfills these requirements: 
> >> 
> >> - gem written in Ruby 
> >> - automatically performing Ajax and Javascript code (XSS is not an 
> issue 
> >> in 
> >> my case) 
> >> - independent of the frameworks used by the website (Rails, JavaEE, 
> >> ASP.NET, 
> >> ...) 
> >> - only client-side 
> >> - no testing 
> >> - no browser dependency 
> > 
> > What do you mean 'no testing'? If not for testing then what is it for? 
> > 
> > Colin 
> > 
> > -- 
> > You received this message because you are subscribed to a topic in the 
> > Google Groups "Ruby on Rails: Talk" group. 
> > To unsubscribe from this topic, visit 
> > 
> https://groups.google.com/d/topic/rubyonrails-talk/H_YImOIzNNo/unsubscribe. 
>
> > To unsubscribe from this group and all its topics, send an email to 
> > [email protected] <javascript:>. 
> > To post to this group, send email to [email protected] 
> <javascript:>. 
> > To view this discussion on the web visit 
> > 
> https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLvqHArcWpbZ5gsfCiPg0EF%3D4kD8QzZbC3KnicN58uAZ8A%40mail.gmail.com.
>  
>
> > For more options, visit https://groups.google.com/d/optout. 
> > 
> > -- 
> > You received this message because you are subscribed to the Google 
> Groups 
> > "Ruby on Rails: Talk" group. 
> > To unsubscribe from this group and stop receiving emails from it, send 
> an 
> > email to [email protected] <javascript:>. 
> > To post to this group, send email to [email protected] 
> <javascript:>. 
> > To view this discussion on the web visit 
> > 
> https://groups.google.com/d/msgid/rubyonrails-talk/smyckbsskql3om4h9odf01hm.1497784510166%40email.android.com.
>  
>
> > 
> > For more options, visit https://groups.google.com/d/optout. 
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/fe98ca87-9887-4385-a8b0-2cec3d82cdc6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to