Forum Discussion

dineth's avatar
dineth
Occasional Contributor
4 years ago
Solved

JavaFX Webview support using python scripts

Hi All,    I am currently trying to write an automation test script in python to find and interact with objects that are located on a JavaFX Webview window. I have seen the feature request thread w...
  • dineth's avatar
    dineth
    4 years ago

    Yeah so the method worked, I was able to obtain the webEngine and its document. I've just got to work out how to find the elements on the page and interact with them.

    This is the code I used, web_page was defined earlier and is the fullName of the WebView object in object spy.

    web_engine = web_page.getEngine()

    doc = web_engine.getDocument()