Questions tagged [firefox]

Mozilla Firefox is an exceptional web browser that stands out for being free, open-source, and available on multiple platforms. This tag can be utilized when your inquiry delves into the intricate mechanisms of Firefox or involves troubleshooting code that functions correctly on other browsers but not on Firefox. For inquiries concerning the development of Firefox add-ons, please use the designated [firefox-addon] tag. However, if you have questions regarding everyday usage of Firefox as a browsing tool, it is recommended to post your query on Newtab Q&A instead.

When viewed through the Firefox browser on an Android device, the text on the webpage suddenly enlarg

I currently have the following content displayed on my website: <div style="font-size: 11px; line-height: 17px; text-align: left;"> <p>lorem ipsum etc etc</p> </div> Strangely, despite setting the font size to 11px, the te ...

Issue with document.referrer in Firefox: Unexpected behavior

I attempted to utilize the document.referrer function. It functions correctly in Google Chrome, however it does not yield the expected results in Mozilla Firefox. if (document.referrer.indexOf('stringToCheck') > 0) { //insert code here } The b ...

Experiencing difficulties when attempting to deploy script to AWS Lambda

My current challenge involves executing a script that utilizes Selenium and specifically webdriver. driver = webdriver.Firefox(executable_path='numpy-test/geckodriver', options=options, service_log_path ='/dev/null') The problem I am ...

Can a Firefox extension be developed using XUL and AngularJS?

I've been wondering about AngularJS, the framework for HTML. Interestingly, XUL (XML User Interface Language) and HTML share similar underlying processing abilities, as both can utilize JavaScript and CSS. Is it possible for AngularJS to integrate with X ...

Using Selenium in Java to interact with popup elements

Attempting to retrieve and interact with pop-up/alert elements using selenium in Java has been a bit challenging for me. Below is the code snippet I have been working on: import org.openqa.selenium.By; import org.openqa.selenium.JavascriptExecutor; import ...

The difference in percentage padding rendering is specific to Firefox only

In my current project, I have created various responsive boxes for displaying news articles on the website. Everything seems to be functioning well except for the news items within the slider at the top of the main content. Surprisingly, they are displayin ...

The method org.openqa.selenium.firefox.GeckoDriverService.access$000(GeckoDriverService.java:42) allows access to a specific

I encountered a problem while attempting to execute a simple code in eclipse. System Specifications: Firefox version - 61.0b4 (64-bit), Jdk - jdk1.8.0_121, Eclipse oxygen import org.openqa.selenium.WebDriver; import org.openqa.selenium.firefox.FirefoxDri ...

Can floated divs be prevented from collapsing without taking up any width?

Let's discuss an issue that is not related to block elements collapsing when their children are floated, and has nothing to do with clearing at all. Imagine having a set of floated divs like: <div class="column">Column 1</div> <div cl ...

What could be the reason for Firefox not utilizing the profile preferences when controlled through selenium?

I am attempting to use Selenium with Firefox to download PDF files. Despite having set my preferences as shown below, I am still encountering the "You have chosen to open" dialog box when running the code. This is not the expected behavior, as the settings ...

FireFox is showing inconsistencies in response to the jQuery GET request, while Chrome is responding correctly

$.ajax({ url: 'https://api.imgur.com/3/album/' + sharedAlbumID, type: 'GET', beforeSend: function(xhr){xhr.setRequestHeader('Authorization', 'Client-ID '+imgurClientID);}, success: function(resp) { var dataLink = 'http://i.imgur.com ...

Setting up VideoJS Flash backup

Due to Firefox's restriction on using an .mp4 file in the <video> tag, I am required to utilize the Flash fallback option on my VideoJS player. When it comes to Chrome, Safari, and IE, I can customize my VideoJS player via JavaScript to perform vari ...

`Text-overflow ellipsis should function consistently across both Firefox and Chrome browsers`

A design has been created to showcase captions for articles and their respective statuses. The article name box has a fixed width, with text-overflow:ellipsis applied to trim excessively long names. Additionally, a light grey dotted line is added at the en ...

Div elements containing identical content and styled in the same manner exhibit distinct dashed borders

After designing a pen with a unique twist, you'll notice that the first div has a border-bottom, while the second has a border-top. What's interesting is that the border on the second div is not the same as the first. Visit this link to see for ...

Is there a way to make Selenium work with an already existing Firefox profile?

After some experimenting, I've realized that even if I explicitly set: webdriver.Firefox( firefox_profile=webdriver.FirefoxProfile("/my/profile/path") ) Selenium essentially duplicates that profile and starts the browser using that duplicate ...

The contenteditable attribute does not function properly in a foreignobject element on Firefox browsers

<?xml version="1.0" standalone="yes" ?> <svg xmlns="http://www.w3.org/2000/svg"> <foreignObject width="100" height="100" x="20" y="65"> <body xmlns="http://www.w3.org/1999/xhtml"> <p contenteditable="true">text&l ...

Connection to Firefox at 127.0.0.1:7055 on CentOS could not be established within the 60-second time frame

Encountering the following error message: unable to obtain stable firefox connection in 60 seconds (127.0.0.1:7055) when executing this code: require 'watir-webdriver' require 'headless' headless = Headless.new headless.start begin ...

How can I stop Firefox from showing the save document popup window when pressing ctrl+s using jQuery?

Is there a way to stop Firefox from showing the save document popup window when using Ctrl+S? var isCtrl = false; $(document).keyup(function (e) { if(e.which == 17) isCtrl=false; }).keydown(function (e) { if(e.which == 17) isCtrl=true ...

Distinguishing the scrolling characteristics of protractor-selenium in Chrome versus Firefox

Currently, I am facing issues with failing specs in Firefox browser. The problem arises when trying to interact with a dropdown list on a web page that appears upon clicking a button. Navigating through each element in the long dropdown list requires scrol ...

Firefox Misplacement: Erroneously Shifting Element Locations

I have recently completed designing and developing a new website, which you can visit here. However, I am currently facing an issue with the positioning of the "About Us" image when accessing the site on either a tablet or a mobile device. Strangely enou ...

Tips for participating in activities on a website using Selenium with Firefox even if you don't know the id

Is there a way to retrieve an element from a web page (such as the "Zaloguj" button) without knowing its name or ID? When I attempt to use something like: FindElement(By....), I don't have any relevant information to work with. I've tried using the class ...

Is JSON.stringify failing to function correctly in Mozilla Firefox?

Currently, I am attempting to convert an object into a string in javascript. After stringifying the object, I have noticed some discrepancies between different browsers. {"jobTypeArray":"[CONTRACT -W2]"} In Firefox and Chrome, the values appear as follow ...

Using JavaScript and the Firefox browser, learn how to easily highlight an element with Selenium-WebDriver

I am struggling with creating a valid function to highlight specific elements on a webpage. As a beginner in coding, I suspect that the issue may either be related to my environment setup or a lack of knowledge about JavaScript/Selenium features. I am wri ...

Navigating PopUpWindows using SeleniumIn this guide, learn the best

I have attempted to manage a particular PopUp / new Window in Java using SeleniumServer, but unfortunately, it is not functioning as expected. Here is what I have tried: selenium.click("css=a[title="Some irrelevant title"] > div.text"); Thread.sleep( ...

What is the best way to dynamically retrieve the Firefox profile path using Python?

data_path = "C:\Users\Cortex\AppData\Roaming\Mozilla\Firefox\Profiles\5cfpvg5b.default" Can we determine this file path dynamically? Keep in mind that 5cfpvg5b.default varies on each computer. ...

Error encountered while utilizing By.Xpath: NoSuchElementException

Update : After some trial and error, I managed to make it work by placing the element inside an iframe: WebDriverWait wait = new WebDriverWait(_driver, 60); wait.until(ExpectedConditions.frameToBeAvailableAndSwitchToIt(By .xpath("//*[@cla ...

The steps for changing instances in WebDriver

Hello, I currently have a setup with my framework that involves the following: ClassA { // This class receives Selenium WebDriver calls through the 'driver' object reference to interact with UI elements public WebDriver get() { return ...

Guide to creating a new browser tab with Selenium WebDriver in Java

Is there a way to launch a new tab within the current Firefox browser using Selenium WebDriver (also known as Selenium 2) in Java? ...

Using the combination of z-index and visibility:hidden makes the button go completely undetect

Can someone please review this code? .parent { visibility: hidden; position: relative; z-index: 1; } .child { visibility: visible; } <button class="parent"> <span class="child">content</span> </button> I'm exp ...

Mastering the Cache-Manifest file configuration for optimal performance

I am experiencing a problem where even though I have my cache manifest, my website is not functioning correctly. Currently, I am working with Visio 2012, using asp.net MVC. Here are the steps I have taken so far: I created a file called Manifest.manifes ...

Exploring Firefox extension elements with Selenium: A step-by-step guide

I am looking to extract a link from a notification generated by an extension using Selenium for testing purposes across various websites. The specific extension I am working with is demonstrated in this GitHub example full code available here. It showcase ...

What methods does Ofbiz use to manage sessions?

Excuse my ignorance, but I am new to the world of web development. I am currently working on an application called OFBench which utilizes the Selenium library to mimic user browsing behavior on a website. The website is designed using the Ofbiz template w ...

Height Difference Caused by Textarea Overflow with Auto Scrollbars

Displayed below is code that generates a textarea with 3 visible rows: <textarea id="txtInput" rows="3" cols="20" style="overflow:auto"></textarea> Unexpectedly, in Firefox (version 20.0.1), the textarea displays 4 rows instead of 3. To view ...

Unable to find element to click on "Join Now" button in Google Meet using Selenium and Python for browser automation

I am working on creating a web automation tool that can automatically join Google Meet using Selenium with the Firefox driver in Python. So far, I have successfully signed up, muted the microphone, and turned off the camera without any issues. However, I a ...

Why does Chrome consider this file a document, but Firefox sees it as an image?

I am experiencing an issue with the download GET endpoint in my Express app. Currently, it reads a file from the file system and streams it after setting specific headers. Upon testing the endpoint in Chrome and Firefox, I noticed that the browsers interp ...

The challenge of aligning widgets in bootstrap panels across different browsers

Incorporating angularjs and bootstrap3, I'm in search of the best way to center widgets within a panel and achieve responsive behavior. Interestingly, the results vary across browsers, particularly in Firefox. Within my code, I have 4 column divs structur ...

Enhanced Firefox functionality with support for multiple columns

It has come to my attention that Internet Explorer 9 and older versions do not support multiple columns. However, even with the latest version of Firefox, I am experiencing issues with this website loading correctly. Do you have any insight into what might ...

Issue with Safari not displaying properly when using float:left and float:right (works fine in Firefox and Chrome)

My website has a left side column and a right side column, which display correctly in Firefox and Chrome. However, I am experiencing issues with Safari. Any insights on what could be causing this problem and why it only occurs in Safari? View the code on ...

Having trouble with CSS3 radio buttons not functioning properly on Firefox?

Does anyone know why my CSS3 pseudo elements are working fine in Chrome, but reverting back to default styling in Firefox for my radio button? Any suggestions? Check out this JSFIDDLE link for reference: JSFIDDLE Here is the HTML code snippet: <input ...

Having trouble with your website div not appearing correctly on Firefox?

I'm facing an issue with the display of a website (found here). The elements inside the div with the class name of .index_container are not appearing correctly in Firefox. Despite being present, they remain invisible. I've attempted to resolve this by usin ...

Issues with Firefox Protractor testing functionality

Trying to test a protractor on an angularjs application using Firefox 47 has been unsuccessful. Attempted downgrading to version 46.0.1 after researching on Stack Overflow, but still facing issues. Has anyone discovered a working solution for this? It seem ...

"Finding the Perfect Alignment: How to Center Legends in Firefox

The issue at hand An issue has been identified where the code functions as intended in Chrome, Opera, and IE but fails to work in Firefox: fieldset>legend { display: table; float: none; margin: 0 auto; } <fieldset> <legend>Legend ...

Strange issue with Firefox when utilizing disabled attribute as "disabled"

I found a curious bug in Firefox: Check out (unfortunately not reproducible in jsfiddle) <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> < ...

Animation event in CSS3 fails to trigger on Firefox browser

Exploring the potential of CSS3 animation to detect when an input transitions from the enable to disable state, I encountered a challenge specifically in Firefox. Here is the code snippet that showcases the issue: View Demo on jsFiddle HTML: <input t ...

Selenium's Firefox driver - A powerful tool for web

Is there a place to download the Firefox driver for Selenium? I have checked this link, but I couldn't find the driver file for download: https://code.google.com/p/selenium/wiki/FirefoxDriver NOTE: I already have Selenium Webdriver IDE for Firefox, ...

The functionality of CSS columns is not supported in Firefox browser

Currently, I am working on a web page design inspired by Pinterest. However, I have encountered an issue where the columns property is not functioning properly in Firefox. You can find the example I am trying to replicate here. Feel free to test it in Fir ...

There is a discrepancy between the source code obtained using Selenium's driver.getPageSource() method and the source code

I am attempting to extract the source code from a specified URL and save it into an HTML file using Selenium. However, I am facing an issue where the captured source code does not match exactly what is visible in the browser. Below is the Java code I am u ...

Troubleshooting CSS Display Problem on Chrome and Firefox

While working on the design of a website offline, everything seemed to be running smoothly. However, upon uploading it to the server, various issues began to arise. Initially, the file loaded correctly upon first visit. Unfortunately, after reloading the ...

Configuring flash to work with Selenium using Python's Firefox browser

Every time I open Firefox, the Flash plugin is there. However, when I use Selenium to open Firefox, Flash is not enabled. How can I enable Flash in Selenium? Here is the code snippet I am currently using: firefoxProfile = FirefoxProfile() firefoxProfi ...

A solution for optimizing accessibility by concealing anchor outlines in Internet Explorer and Firefox

Initially, I want to clarify that I acknowledge the fact that removing outlines impairs keyboard navigation. In contrast to Internet Explorer and Firefox, Google Chrome handles this issue by displaying outlines exclusively when the user interacts with the ...

The Selenium grid is having trouble recognizing the remote Firefox driver binary even though the System.setProperty has been configured

Currently, I am utilizing selenium with selenium-server-standalone-3.4.0 and geckodriver-v0.18.0-win64 for executing selenium grid tests. Even though I have configured system.setProperty("webdriver.gecko.driver","path to firefox binary"), I keep encounter ...

Why is it that the date selector is missing in Firefox?

When using the provided HTML code, a date selector will appear on Google Chrome: <html> <head> <title> </title> </head> <body> <form> <input type="date" /> </form> </body> However, ...

Issue with relative input causing Jquery click event to not fire

Jquery $(document).on("click","[type=text]",function(event) { alert('test'); }); CSS .noWorking:focus{ z-index:100; position:relative; outline:none; box-shadow:0 0 0 1000px rgba(0,0,0,.2); } To ensure the shadow appears on top of all other element ...

Error 403 with Firefox on Font Loading for CodeIgniter Website

Utilizing font-face in CSS to integrate custom fonts onto a web application being developed with CodeIgniter. This is the CSS code: @font-face { font-family: 'UniversLT-UltraCondensed'; src: url('../Fonts/LTUnivers/universlt59ultracondensed.eot'); ...

PhantomJS with Selenium encounters ElementNotVisible error when selecting a combo box, whereas Firefox performs without any issues in the same

I am working on a website that features a unique combo box where items are selected from divs instead of traditional options. My program needs to click on the combo box, wait (I've found using implicitly_wait(3) for 3 seconds works best), and then select t ...

Unable to launch selenium.WebDriver in Firefox using Java when running in a headless environment

Here is an example code snippet I'm working with: import org.openqa.selenium.WebDriver; import org.openqa.selenium.firefox.FirefoxDriver; class Gecko { ... FirefoxBinary ffB = new FirefoxBinary(); ffB.setEnvironmentProperty("DISPLAY", ":10"); ... ...

The ajax request using type:"GET" is successful in firefox and chrome, but encounters issues in Internet Explorer

Hey everyone! This code snippet works smoothly on Firefox and Chrome, where it successfully passes the data and displays the confirmation page. However, when I try to run it on Internet Explorer, the page simply refreshes and all the data passed becomes N ...

The window.focus() function does not seem to be functioning as expected when using

I have been trying to use this code snippet to bring the window into focus. It seems to be working smoothly on Internet Explorer, but unfortunately it is not behaving as expected in Firefox. Any tips or recommendations would be greatly welcomed. ((Javas ...

Selenium is launching the incorrect browser as the default option

tl/dr: Can't Get Selenium Tests to Run Locally I've been struggling to run my selenium tests locally while remaining compatible with the Browserstack platform. This is the code I've been using to connect locally: wd = webdriver.Remote('http://<a href= ...

Having Trouble Accessing Website Using Python Script on Firefox

After attempting to launch a website in Firefox using Selenium Python, the browser opens but nothing happens beyond that. An error message was encountered during this process: bash-3.1$ C:/Users/user/AppData/Local/Programs/Python/Python35-32/python.exe d: ...

Experiencing challenges when using Selenium script on Firefox browser

Details Firefox version: 45.0.2 Selenium: selenium-java-2.53.1 (experimented with selenium-java-3.0.0-beta2 too) Script package Selenium_Practice; import java.util.concurrent.TimeUnit; import org.openqa.selenium.By; import org.openqa.selenium.WebDri ...

What is the best way to switch proxies multiple times during a single webdriver session?

I have been developing a bot that requires changing the proxy of the webdriver every 50 searches. I am currently using an API to request proxies and sockets, storing these variables for each session. However, my current method of setting up proxies through ...

Attempting to utilize FirefoxProfile via GeckoDriver with Selenium on Mac OS X resulted in an unexpected error message stating "unknown error" with further details indicating that the connection was refused

I encountered a connection refused error while attempting to set up a Firefox driver. System.setProperty("webdriver.gecko.driver", "path to gecko driver"); FirefoxOptions options = new FirefoxOptions(); options.setLogLevel(FirefoxDriverLogLevel.FATAL); op ...

Firefox throwing an error with jQuery URL Get requests

Could someone help me understand why my JavaScript function is triggering the error function instead of the success function in Firefox on Ubuntu? $(document).ready(function() { console.log( "Begin" ); $.ajax({ type: "GET", dataType: "ht ...

issue with padding-bottom in Firefox and Internet Explorer 11

JsFiddle CSS body, html { background: violet } * { margin: 0; padding: 0 } .fixed { height: 100%; width: 300px; background: #fff; right: 0; position: absolute; top: 0; display: -webkit-box; display: -moz-box; display: -ms-flexbox; ...

Printing in Firefox is ineffective, but functions smoothly in alternative browsers

I'm currently working on customizing some content specifically for printing, so I've implemented a hook import { useState } from 'react' const usePrint = () => { const [isPrinting, setIsPrinting] = useState(false) const handleBeforePrint = () = ...

Adjust the CSS extension within the about:config settings of Firefox

I've been using the Zotero extension and I want to adjust how TinyMCE handles paragraph spacing. I'm looking to customize the CSS in extensions.zotero.note.css by adding specific CSS rules. The reason I want to make these changes is because I fe ...

C# Selenium - Tor Initialization Error

I'm attempting to use Selenium in C# to launch the Tor browser with the code snippet below: using OpenQA.Selenium.Firefox; using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Text; ...

The event listener for browser.menus.onClicked is dysfunctional in Firefox

Currently, I am in the process of developing my own Firefox extension and I have encountered an issue with adding a listener to an onclick event for a context menu item. manifest.json { "manifest_version": 2, "name": "My exten ...

Problem with padding in Firefox when using jQuery's css() methodInconsistent behavior with padding property in

It has come to my attention that Firefox (specifically v19.0.2) is encountering an issue with the jQuery css() function when attempting to retrieve an element's padding. While using .css('padding-left') seems to be a workaround, it would be ...

Having trouble running Selenium through Protractor on Firefox following the Angular 2 update

Following the upgrade from Angular JS 1.4.x to Angular 2, encountering issues running Selenium tests through grunt-protractor-runner on Firefox. Once AngularJS is loaded, an unexpected error pops up: D:\...\node_modules\grunt-protractor-ru ...

Python, Selenium, and gecko driver with added browser extensions

Earlier today, Selenium with Firefox and extensions was working perfectly fine. However, after updating FF, Selenium stopped working (see here) which forced me to switch to geckodriver. Now, I am trying to run Selenium (gecko driver) with the udrive exten ...

Firefox inexplicably splits words in haphazard locations

Although I know about this question, the solution provided doesn't seem to work for me Firefox word-break breaks short words at random points Despite applying the recommended CSS property as shown in the screenshot, it appears that the latest versio ...

Clicking on a href link inside a scrollable div-container causes it to malfunction, causing the page to jump

I have a draggable div container that contains dynamically generated content. In order to display this container, I use the following code: $( function() { $( "#dialog-message" ).dialog({ modal: true, height: 400, buttons: { Fertig: functi ...

Unable to display <iframe> containing a YouTube video on Mozilla Firefox page

I have included an <iframe> in my webpage to display videos from YouTube, but I am facing an issue with Mozilla Firefox. In Chrome, IE, and Edge, the videos display correctly using the following code: <iframe src="http://www.youtube.com/v/DNLh8p ...

Retrieve the browser version through the use of the Selenium WebDriver

Is there a way to retrieve the browser version? >>> from selenium import webdriver >>> driver = webdriver.Chrome() >>> print(version) <-- Any suggestions on how to accomplish this? Chrome 92.0 ...