title: How to click a submit button in QWebView?
body: <p>I have the following code (excluded class constructor etc) - I am using PySide btw:</p>
  
  <pre><code>self.view = QWebView()
  
  frame = self.view.page().mainFrame()
  document = frame.documentElement()
  search = document.findFirst("input[name=q]")
  search.setAttribute("value", "srbija")
  
  button = document.findFirst("input[name=btnK]")
  </code></pre>
  
  <p>As you may have noticed, this is straight from google.com homepage. I am trying to basically search the page. But I can't figure out click the "Google Search" button. The documentation only mentions the <code>button.evaluateJavaScript("click()")</code>, but this only calls the JS method - I don't need any JS methods in this case, I need to actually click the button. </p>