How to keep Aptana tests in a single tab? - firefox

Each time I run or debug a webpage in Aptana, it opens a new tab or window in Firefox. After several runs, there are either a Firefox window with more than one tabs or multiple Firefox windows.
How could I let the Firefox reload a tab for each test run, instead of open a new tab/window each time?

You could just "save all changes" instead of make a test run. Then reload the page on firefox.

Related

Preventing project execution from stopping when moving Chrome tab to another window

Whenever I execute an MVC project that opens on Google Chrome, it opens a new window with the website. I have tried several times to move it to another Chrome window which already has several tabs, but whenever I do that, the Project stops executing.
Is there a way to prevent that from happening? Thank you.
Notes: I run the project on Debug mode, with the Google Chrome explorer.

Prevent Firefox from opening Privacy Notice when running web-ext?

When developing web extensions, I test them with (for example) web-ext run --bc -u https://stackoverflow.com/. With Firefox 56.0 (and web-ext 2.2.2), this:
opens a window "Browser Console",
opens another window and starts to load https://stackoverflow.com/ there, and
opens another tab in that window to display the Firefox Privacy Notice.
The last part is not only annoying in itself, but also distracting as (AFAICT) it fills the browser console with warnings related to that page's scripts.
How can I prevent Firefox from opening the Firefox Privacy Notice when called from web-ext, perhaps by setting some preference with --pref?
According to https://github.com/mozilla/web-ext/issues/1114 you can use this:
web-ext run --pref='datareporting.policy.firstRunURL='

Force Firefox to open new tab and not new window

My application sometimes opens URLs in a browser. I do this with Process.Start("http://www.example.com").
My default browser is Firefox. I notice that if the above code runs when no Firefox window is active, each URL (I open several URLs in one go) is opened in its own window.
However, if a Firefox window is already open, the URLs all get opened as new tabs.
How can I make it always open as tabs? Always as windows? Open a single new window and make everything a tab in that?
Because command-line arguments differ between browsers, to do this successfully you would need to launch Firefox explicitly and pass in the appropriate parameters. You would have to create a similar solution for each additional browser you wanted to drive.
If this is something you're doing just for yourself or in an environment where you have some control over what's installed on user machines, then it may be solvable. But if it's a general purpose program meant to work on any Windows PC, then it probably isn't practical.
For firefox, the command line arguments are:
-new-tab URL
Opens URL in a new tab.
-new-window URL
Opens URL in a new window.

How to force Netbeans 7.0.1 so that, when we click Run opens always the same tab or window?

Netbeans 7.0.1
Firefox 7.0.1
How to force Netbeans 7.0.1 or, how can I setup the firefox to, when we do Run it doesn't tell our browser to open a new tab nor a new window ?
The point is to check the page we are testing always on the same window.
This behavior is determined by your browser (e.g. Firefox), not NetBeans
For example:
FF > Tools > Options > Tabs >
Open new window in a new tab instead= N
As paulsm4 said, the behavior is determined by the browser.
At least in firefox, here's the way to allow Netbeans Run to run on the same tab:
Install the following extension on Firefox:
Tab Mix Plus
Under "Links" select:
Open links from other applications in: "Current Tab"
Cheers.

Having debugger open Firefox in current tab instead of creating new tab

So every time I run a debug from my development IDE and Firefox is called to display my app, I get my app displayed in a new Firefox tab. That means one new tab every time I start a debug session and before long I've got 10-20 Firefox tabs open.
Can I have it so it reuses the existing tab open?
I could only find Firefox command line options to open new windows etc, not to use the current window/tab.
Just in case the above link disappears, it details going to the about:config screen in Firefox (just enter about:config in address bar) and changing the value of 'browser.link.open_newwindow' from 3 to 1.

Resources