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 which states that there is currently no support for JavaFX Webview controls but I have also seen that it is possible to interact with the Webview controls using the WebEngine object.
Is there a way of interacting with this WebEngine object within a python script or are there any other alternatives which would allow me to interact with objects on the JavaFX Webview window?
Kind regards,
Dineth
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()