Trying to use fancybox with Dreamweaver CC. It does not work - header

When I click on the image in a browser with the FancyBox class applied, it does not open FancyBox, instead it opens up in another new browser (just the image by itself).

Related

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

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 Change Firefox Homepage In VB Code

How Do I Change Firefox Homepage In VB2011 Code
I want to change the url homepage of the firefox browser by running that EXE file
is this possible
If you want to change the Firefox's home page form a program running on the user's computer, you have to edit the prefs.js file and create a new line like user_pref("browser.startup.homepage", "http://www.example.com/");.
Beware that if there are multiple browser.startup.homepage entries every entry will be opened in a new tab when the browser starts up, and that the modification must be done when Firefox is closed, otherwise the changes will be lost.