How does one enable the developer console in Safari for Outlook Add-in Dialog API? - outlook-addin

I am working on an add-in that is failing to load scripts via the Dialog API.
The template from the HTML renders correctly in the Dialog. If I render the template in the main TaskPane, both the HTML and the scripts execute correctly.
I can see the console logs in the TaskPane, but the Dialog seems to be a bit of a black box. There's no logs, network, or DOM info that I can see. Is there a way to enable the Safari console for the Dialog?
**** UPDATED: ADDED GIF ****
(the gif slows down the flashing of the screen, but this what happens when attempting to open the inspector in the Dialog)

Related

How to block the file chooser in Firefox?

I'm developing an application that uses Selenium for automation of a certain process that involves file upload.
There is a button on that website that executes some ajax which loads in the file input element, but also tries to open file chooser for some reason.
In Chrome it works fine - the file chooser is blocked (message from the console: File chooser dialog can only be shown with a user activation.).
The problem is that I can't block it in Firefox. I looked through about:config and found nothing useful.
So how do I block it?

how to leave from chrome pdf viewer page in kios mode

i'm using chrome kiosk mode. When i open pdf it's open in chrome pdf viewer but i cant leave this page wihout keyboard. so user stucking on this page. how to fix this? maybe there is a way to make button "home" at top of site in chrome?

How can I download a file on a click event using selenium, using 'webdriver.Ie()' only?

I am constrained to use webdriver.Ie() only, for the .aspx page I am required to download the file from, opens only in Internet Explorer.
Can somebody show how to accept the 'save file' dialogue upon clicking download button?
Do you mean you are getting this kind of Save popup while clicking on the download button?
If yes then Selenium web driver does not provide any way to click the Save button on that popup.
You need to use any third-party library to click on the Save button on that popup.
To get more information, I suggest you refer to the links below.
How to handle download file on IE 11
Downloading a file in Internet Explorer through Selenium
Download a file in IE using Selenium

IE11 Closes when attempting to view source or use F12

We have a set of users who cannot view source or use developer tools in IE11 on Windows 10. right clicking to view source closes the browser with no errors being displayed or found in event viewer. If you hit F12 it will open briefly and then will again close the browser without errors

Loading pdf in web browser control with requireAdministrator UIaccess does not render pdf properly

I have a small vb6 application where I show PDF files in a web browser control. So I navigate to a required file using “WebBrowser1.Navigate”. It works well and the pc should have adobe reader installed.
But I have observed some strange behavior in windows 8 pcs (checked in about 4 PC).
If the application has asInvoker level manifest then pdf appear proper as expected.
If the application has requireAdministrator
level manifest then pdf does not appear and blank page appears.(so pdf is not rendered).Same problem comes for highestAvailable level if user is administrator.
I have observed loading webpage does not have this kind of problems.
So why the strange behaviour is shown if a application run as Administrator.
You can download the file from this link and check the said error.(EXE are already created with different manifest levels). Or adding web browser control to a form and just add WebBrowser1.Navigate("path to pdf") .Even no need to add manifest .running by using right click run as administrator gives error.