How to get HTML from the browser in SWT after setting the URL
问题 I have tried using String html = browser.getText(); But I am getting this error Exception in thread "main" org.eclipse.swt.SWTException: Failed to change Variant type result = -2147352571 at org.eclipse.swt.ole.win32.OLE.error(Unknown Source) at org.eclipse.swt.ole.win32.Variant.getAutomation(Unknown Source) at org.eclipse.swt.browser.IE.getText(Unknown Source) at org.eclipse.swt.browser.Browser.getText(Unknown Source) I have read this bug report: https://bugs.eclipse.org/bugs/show_bug.cgi?id