IE11 Closes when attempting to view source or use F12 - internet-explorer-11

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

Related

Data Studio Report not Downloading Properly

Until today I have been able to download data studio reports as pdfs and, with the exception of some content errors, it has always worked as expected. Now, rather than downloading as a pdf, the report opens as a pdf looking file with a blob:https:/ /datastudio.google.com/4138d etc. URL which according to Chrome is an insecure connection. Trying to download this file results in a "Network Error"
page that I get when selecting download as pdf
I have tried checking for malware on Chrome and cannot see anything wrong. I have also restarted my PC and refreshed data studio.
Any help or suggestions would be greatly appreciated!
I agree with #wilburforcethebrave - all dashboards were downloading without an issue until yesterday and now receiving intermittent errors such as "blob:https:/ /datastudio.google.com/4138d"
Printing the dashboard as a PDF is helpful if the report is one page, but does not work for multiple pages.
I think I found a fix though so you can download Data Studio reports in Chrome.
Click the 3 dots next to your photo in chrome (right under the 'X' button on windows)
Go to 'Settings'
Select 'Privacy and Security' from the left side menu
Select 'Site Settings' from the presented menu
Under the 'Content' section, select 'Additional content settings'
Click 'PDF documents'
Click the 'Download PDFs' button
Changing this setting will download PDFs directly to your downloads folder without opening a separate PDF window in Chrome. To make sure your downloads folder is the default folder click 'Advanced' on the left side menu then click 'Downloads'. You can change your download location from here or turn on the option to have Chrome ask where to save with each download request.
Also, downloading the reports with another browser will work too. I did not have any issues downloading reports with Firefox.
I have been having the same issue with this today, and have found a work around. Instead of downloading it in the new tab that opens, click the print button instead. From the print menu, change the printer to "Save as PDF", and it should be able to save as normal. Not sure why we had this issue but this seemed to allow us to download it as a PDF.
I do not have any problem when I export multiple pages dashboard and print as pdf. I suggest you may want to check your pdf print driver within the browser itself.

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

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

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)

IE9, Selenium: how to disable download prompting bar ?

I need, for testing purpose, to disable download prompting bar in IE9 (that asks for opening or saving the file), otherwise I cannot test a feature of my app that lets to download a file.
There are download managers that allow to do it, I am wondering where I may put my hands (which Window's registry) in order to remove this download prompting bar.
You can try to switch to new window and close it or execute following code.
driver.switchTo().alert().dismiss();
You don't say which language you are using, but I was able to do this using the following Ruby code.
Note that it does not touch the registry, as asked in your question, but uses the keyboard to interact with the IE9 download bar. It does not disable the download bar altogether, but effectively does the same thing by getting IE to save the file once a download has been invoked.
Selenium can't see the IE9 download bar, so you can't interact with it using Selenium.
require 'win32ole'
#assuming download has started, and IE9 download window is now visible
if $browser = "IE" then
wsh = WIN32OLE.new('Wscript.Shell')
wsh.AppActivate('My webpage - Windows Internet Explorer')
sleep 1
wsh.SendKeys('%s;') # $browser.send_keys #doesn't work - because IE download window is not on the web page.
end

How do I enable popups in a new Firefox profile using selenium webdriver (Java)

The application I am testing requires pop-up to be enabled. When a launch a new Firefox profile I get the browser message
Firefox prevented this site from opening a pop-up window
with a button on the right called Options. I can manually click the Options button and select to Allow popups from ....
Question is how can I use profile.setPreference to set to allow popups from my website and also not show this Firefox message?
You can save your current Firefox prifile with allowed popups and load it from file like in this case: https://stackoverflow.com/a/6830109/1165331
save you current working profile with popups via browser and loat it.