This is a Qt forum, not exclusively C++, but there is not a lot of PyQt traffic.

At a guess:
Qt Code:
  1. doc = QWebView.page().mainFrame.documentElement()
  2. s = doc.findFirst("select[id=birthday_m]")
  3. s.setAttribute("value", "2")
To copy to clipboard, switch view to plain text mode