asp.net - WatiN - getting past the certificate error page -
Anyone know how to use the Certification WiringHand in WatiN?
I have yet found ...
IE ie = New IE ("https: //mysite.aspx"); CERTIFICATE WARNINGHOLDER CWH = New CertificateWarning Handler (Certificate Washinglar.ButtonsNann.ah.); Cwh.HandleDialog (new window (ie.hWnd));
... does not fix anything.
On a more general note, how do you manage people on the earth to use this tool? The documentation is almost useless, and no decent resources seem to be online. I should remember something because it writes me three lines of code to write about half an hour which do not work.
Have you already tried?
i.e. Add to DelWewerker (cwh);
or just
or. Dialogware. Add (new certificate-handling handler ());
Update: After comment.
Actually it works for me next to the next
browser browser = i.e.; If (browser.Links.Exists ("overridelink")) {browser.Link ("overridelink"). Click (); }
Comments
Post a Comment