jamietre / CsQuery

CsQuery is a complete CSS selector engine, HTML parser, and jQuery port for C# and .NET 4.
Other
1.15k stars 249 forks source link

Is there a "Click" method? #174

Closed sjdixon closed 9 years ago

sjdixon commented 9 years ago

In good ol jquery you can do a click like this:

$('#element')[0].click()

Is there a way to do this in CsQuery? There does not appear to be an equivalent function

new CQ().Select("#element")[0].Click()
tellez12 commented 9 years ago

This is not executing the javascript, so it wont do anything by "clicking" an element/