Open hammondreg opened 3 months ago
Had a first look - opening the page generates a bunch of js errors. Will have a look.
Yes. Its full of errors, I agree. But the Selenium version manages to overcome them (somehow). Its the 'executeScript' feature that is stopping me. But thanks for looking, much appreciated
the first bunch of (simple fixes) are done - now i have to have a look at the tricky ones :-)
step one done, i can load the start page without getting js errors, next step is filling the form, clicking and get the error msg
I am waiting with bated breath! =:-]
Found the next problem, a bunch of objects are not working when used from a worker. This will require some time because i like to write a bunch of tests for this.
So please continue breathing for a while
I'm trying to access my own banking details (not other peoples!) by clicking on the 'Continue' button of:
https://onlinebanking.nationwide.co.uk/AccessManagement/IdentifyCustomer/IdentifyCustomer
but without success. I have tried a normal 'click()' on the button, but nothing happens no matter how long I wait.
I have already successfully used Selenium in a .Net program to overcome this problem, and whilst the Selenium version (in C#) also seems to ignore a 'click()', when I use:
JavaScriptExecutor.ExecuteScript("arguments[0].click();", targetButton);
it does have the required effect, i.e. the button 'clicks' and I transfer to the next html page so all is good.
Using a similar approach with 'htmlunit-android' however, there doesn't seem to be an extension 'executeScript' that I can use with 'JavaScriptExcutor'. Have I missed something? Is it there under another guise??
Here's the Kotlin snippet (sorry its not Java, but I have to use Kotlin because Java doesn't support co-routines):
Thanks in advance for any assistance