title: Selenium Webdriver Support for Javafx 2.0 Webkit or QT5 Webkit (Goal: headless webkit)
body: <p>I was wondering:</p>
  
  <ul>
  <li>Has anybody already thought about implementing the webdriver-interface for an embedded Javafx 2.0 Webkit Browser or for the new QT5 - Webkit.</li>
  <li>Has anybody some pointers on some Github/Bitbucket/GoogleCode projects heading in this direction?</li>
  </ul>
  
  <p>Why?
  This would add
  another cross-platform browser and hopefully could be headless with a new webkit rendering engine.
  Right now I am using SafariDriver on MacOSX or ChromeDriver. This kinda works, but chromedriver often bites me, when Chrome does it's autoupdate and breaks the chromedriver.</p>
  
  <p>The project, which comes closest for a headless Webkit implementation (including taking screenshots) is, I think, phantomjs (QT-4.8 webkit) + ghostdriver (webdriver addon for phantomjs as a javascript implementation).
  Right now phantomjs has it's quirks with fonts and hyphenation (&shy;) rendering.</p>
  
  <p>Testing the QT5 browser examples, the font/shy rendering seems to have been fixed.
  Now I could either wait for phantomjs to catch up with qt5.</p>
  
  <p>The other idea would be to have Java 7 installed, which includes Javafx 2.0 and implement a WebView which can be controlled by the webdriver-protcol as well. Newer JavaFx 2.0 version contain the possibility to take screenshots of JavaFX scenes, which would be helpful.</p>
  
  <p>References: </p>
  
  <ul>
  <li><a href="http://ariya.ofilabs.com/2012/03/the-evolution-of-phantomjs-build-workflow.html" rel="nofollow noreferrer">http://ariya.ofilabs.com/2012/03/the-evolution-of-phantomjs-build-workflow.html</a> (Phantomjs/QT integration)</li>
  <li><a href="https://stackoverflow.com/questions/12769169/how-to-fix-work-around-qtwebkits-incorrect-font-fallback-behavior">How to fix/work around QtWebKit&#39;s incorrect font fallback behavior?</a> (qt4.x font rendering)</li>
  </ul>
  
  <p>Merry Christmas,</p>
  
  <p>Jan</p>