I recorded a script using the Selenium IDE extension for Firefox, and I would like to add the command waitForCondition. I see it takes two arguments: script and timeout. In Selenium IDE, I have 3 text fields for each command: the command name (I assume "waitForCondition"), the target, and the value. Where and how should I put the two arg...
The page I am trying to test sets the value of "global variables". From the Firebug, I can access those as properties of the window object (e.g. window.foo).
From Selenium however, typeof selenium.browserbot.getCurrentWindow().foo always return "undefined", say when used in the condition of a waitForCondition. Any idea of what I could b...
I am working on a website for a client, and we have the following requirements:
When the browser width is greater than 960px don't show a scroll bar.
When the content is wider than the browser but the browser width is greater than 960 don't show the scroll bar
If the browser is 960px don't show the scroll bar when it is needed.
I hav...
Hello!
I've successfully done this for IE7. FF, no dice.
any ideas?
Thanks!
...
I have a friefox sidebar extension. If its opened by clicking on the toolbar icon I load it with a webpage ( that I have authored ). Now, if the user clicks on the link on the webpage ( thats loaded into the sidebar ) I want the linked webpage to open up in a new tab of the main window. I tried with this in my webpage markup:
<a target=...
I'm making an ajax call with jQuery. The ajax call works fine in IE 7, but FireFox 3 always does a full page refresh when making this call. The ajax call is POSTing to an ASP.NET page method.
Is there a problem in jQuery or am I just missing some setting?
$.ajax({
async: false,
type: "POST",
url: "Default.aspx/DoSomething",
data: "...
I'd really love this to work in IE. I'm not able to change the fact that tables should not be used here. IE is the only browser the project I'm working on is required to support.
Here's the code:
<html>
<body>
<style type="text/css">
#test table {
border-collapse: collapse;
table-layout: fixed;
width: 95%;
}
#test table td {...
My aim is to update the look of the GUI in my app. Currently my GUI contains a lot of listboxes which are used to edit some objects in an old fashioned way, that is, user double-clicks an item and a dialog is shown to modify the corresponding object.
I think a good modern approach is how Firefox displays the extensions installed (a sna...
I want to bounce an idea around. I have been building web services and web applications for over a decade now, and have more recently been focusing on providing as RESTful a service as possible (eg. using the same URI for both browsers and API clients, but having them modify accept: to decide if to send XML or XHTML).
One big sticking p...
I'm using the following code to override a JavaScript function named dismissRelatedLookupPopup(). In Firefox, this works without a problem (displays the alert once and runs my code), but in Internet Explorer 7 it results in an infinite loop displaying the alert() forever. I'm doing this because I don't control the code where dismissRelat...
I'm working on a Firefox extension that will manipulate highlighted text.
On a stand-alone page, I can get the selected text with:
selectedText = document.selection?document.selection.createRange().text;
Then I'd manipulate the selected text with string operations on the textarea in question. Unfortunately, that isn't possible for a...
I have a web page that renders the same in IE7, Firefox, and Safari - except when printing. IE7 appears to allocate too much space for borders when printing.
In the example below, the box heights plus borders should add up to the same height in the 2 columns. I set the borders to 10px to exaggerate the problem.
I hate CSS hacks, and so...
you will notice the hover css for the links in the main nav area (grey bar under logo) for this site http://testing.ksischool.com/ works fine in firefox, but IE7 chops off the bottom few padding pixels. why?
...
On a project I'm working on, I am using HTTP headers to redirect the user to the frontpage after a successful login;
header("Location: http://example.com/index.php?");
exit(0);
EDIT: Added questionmark to url to show the problem
This works fine in all browsers tested - however, in Firefox 3.0.6, both on windows, mac and debian, it fa...
I currently use a flat-file to store data in a Firefox Extension, but think this is inadequate.
Which lightweight databases are commonly used within Firefox extensions?
...
I have the following Rails link generating code
(I have removed potentially 'industry secret' stuff, sorry for the odd names, but the length of variable names and values match)
<%= link_to_remote "FOUR", :method => "get", :url => {:action => "testing01_four_log_info", :fourth_name => "LA1", :testing01_num => "123"} %>
This code gener...
When coding new javascript heavy websites, which order or web browser do you code for?
I can see these possible orders, but I am not sure which I like best:
Code for one first and get it working well, then start testing with other and fix errors as I go.
This will allow for the most rapid development (with Firefox at least) but I've ...
I'm trying to implement html table row selection in IE7 and FF3.
When user clicks on the row with ctrl key, he can select separate rows.
When he clicks with shift key he can select rows range (so in other words: I'm trying to implement items selection like in the select box or in file explorer).
I have javascript for highlighting selec...
I have a web page with an IFrame named "objFrame".
In a Javascript file, the following statement is executed:
var useWindow = (typeof(window.objFrame) != "undefined" && typeof(window.objFrame.contentWindow) != "undefined");
When running the code (normally or stepping through it with the debugger), the expression
(typeof(window.objFra...
When firefox (3.0.6) renders a png image at certain widths (e.g., 50%), a thin grey line is shown along the left and top edges of the content box. The line disappears at other widths (e.g., 70%). Furthermore, the line doesn't seem to be present in the original image (using gimp to inspect the image).
The phenomenon occurs in the absence...