Javafx webview controls
Our developer has implemented a username and password fields into javafx webview. I have enabled all available controls in my project properties but I am not able to get access to the fields inside webview.
Any help would be really appreciated.
Looks like I'm getting too overwhelmed with this issue 🙂 I did use getDocument() if you check my previous replies where I have shared the code. I think the problem is with the selector 'id' , not sure why. Can you check the html code I shared and help me identify if I am using the correct id. Also, if I can use xpath instead as I know exactly what the xpath is.
I noted in @rraghvani 's code that he used getElementsByName() (note bolded 's') to find single element by name.
Maybe you should use getElementsById() instead of getElementById() ?
As it was mentioned in some reply in the initial threads provided by @Marsha_R, try to check the documentation as for what methods are provided by the getDocument() FX object.
/Alex [Community Champion]
[Community Champions] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Champions]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Champion] signature is assigned on quarterly basis and is used with permission by SmartBear Software.