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.

What are the steps for integrating selenium into Raspbian Python3?

My Setup: Raspberry Pi3 Operating System : Raspbian Programming Language : Python 3.5 Geckodriver version: geckodriver-v0.19.1-arm7hf (usr/local/bin/geckodriver) Browser: Firefox ESR (52.6.0 - 32-bit) Code Snippet: from selenium import webdriver brows ...

Having trouble with Firefox not recognizing the linear gradient color in my CSS3 code

I'm working on implementing a linear gradient background using CSS, but I'm facing an issue with Firefox not displaying it correctly. body { height: 100%; /*background-color: #F0F0F0;*/ background-repeat: repeat-x; /* Safari 4-5, Chrome 1-9 */ background ...

Is animation not functioning for SVG path within a clip path on Firefox?

Creating the HTML for a unique effect: <svg class="svg-defs2" version="1.1" xmlns="http://www.w3.org/2000/svg" height="200" width="640"> <defs> <clipPath id="clipping2"> <!--Adjusting the x-coordinate of start will expand ...

Guide on leveraging Selenium for installing a Firefox browser extension

Seeking guidance on using Selenium to add the "nopecha" extension to my Firefox browser. Any assistance on achieving this goal would be greatly appreciated. ...

The height and rows of a textarea element do not adjust properly to the content in FireFox

Looking for a way to create a textarea with dynamic height that adjusts as the user adds new content? The resize property is set to none and overflow is hidden. It seems to be working correctly in Chrome, but Firefox is presenting some mysterious issues wi ...

Having problems initiating a remote session with WebDriver - encountering a TypeError: string indices should be integers

As one of my initial attempts at writing a Python script, I am working on running a test case on localhost hosted on an IIS server in a local environment. To achieve this, I have made the following adjustments: Changed Firefox Settings to 'No proxy' Conf ...

In Firefox, the focus outline is not shown on a div that has a mask-image CSS rule applied to

In my code, I have multiple div elements that have the mask-image and -webkit-mask-image CSS rules applied to them. These divs are being used as UI slider components, so I want keyboard users to be able to tab between them and use the arrow keys to adjust ...

Can you suggest a different method for performing a mouse hover action on a selenium web element using Java 1.8, Gecko Driver 0.19, and Firefox 56?

I encountered an issue where using Actions resulted in an unsupportedCommandException. I attempted the following: Actions action = new Actions(driver); action.moveToElement(element).build().perform(); driver.findElement(By.linkText("All Actions")).click( ...

Configuring Python Selenium to use a specific Firefox profile on Ubuntu

I've encountered an issue while setting the path to a new Firefox profile in Ubuntu OS using Python and Selenium. Whenever I run the Python script, I keep receiving the following error: OSError: [Errno 13] Permission denied Despite changing the permissio ...

Firefox fails to render SVG animation

Currently, I'm attempting to incorporate this unique animation into my website: http://codepen.io/dbj/full/epXEyd I've implemented the following JavaScript code in order to achieve the desired effect: var tl = new TimelineLite; tl.staggerFromTo(".bottom" ...

Alignment problem detected in Firefox and Safari, but works perfectly in Chrome

Currently dealing with a CSS problem on my website that is only appearing in Safari and Firefox, while Chrome displays it correctly. The images are not positioning correctly and are stacking instead of being placed in each box as intended. I've expe ...

How can one choose a selenium element using parentheses and its name?

I have a specific input element that I need help with: <input name='selected(1234)' type="checkbox" /> However, when I try to record an action on this element, I encounter an issue: Command: click Target: selected(1234) Unfortunately, t ...

The issue of basic authentication failing to function on Internet Explorer and Chrome, yet operating successfully on Firefox

Here is how my authentication code looks: public class BasicAuthenticationMessageHandler : DelegatingHandler { private const string BasicAuthResponseHeader = "WWW-Authenticate"; private const string BasicAuthResponseHeaderValue = "Basi ...

The issue states that the executable 'geckodriver' must be located within the PATH directory

I'm currently working on a Python project that involves using the selenium library. My preferred browser for this project is firefox, so I went ahead and downloaded the geckodriver. After downloading, I made sure to add it to my Path: https://i.stack.imgu ...

Encountered a WebDriverException while using Selenium with Firefox - Error: Reached an error page with the URL about

Meta Information :- Browser: Firefox v51.0.1 (32-bit) Operating System: Windows 10 Automation Tool: Selenium 3.0.1 WebDriver: Geckodriver Win32 v0.13.0 Programming Language: Java v1.8.0_71 Steps to Reproduce Issue :- WebDriver driver = new FirefoxDrive ...

Is jQuery.each() failing to function properly in Firefox and Internet Explorer?

Having trouble with the $.each function behaving differently across browsers. I have lists with background images, and I want the parent div to fade in once these images finish loading. My code seems correct as there are no JavaScript errors in the conso ...

How to terminate a Selenium "click" thread after a timeout

I have successfully implemented a method for terminating a Selenium get thread after a set timeout by following instructions I came across on Stack Overflow... String url = "https://www.myurl.me"; Integer timeout = 3000; Thread t = new Thread(new Runnable ...

I am unable to generate png maps using folium with the combination of selenium and firefox

I have been attempting to export a map that I created using folium in Python to a png file. I came across a post suggesting that this can be achieved by using selenium with the following code snippet: Export a folium map as a png import io from PIL import ...

The Ajax request functions correctly in Chrome and Safari but encounters issues in Firefox and Internet Explorer

I've encountered an issue with jQuery where the call is failing when making a request with base64 authorization header in the beforeSend function. It's a simple request to retrieve projects. function GetProjects(full){ var query = "/Projects"; $.ajax({ ...

Ajax request and the Ghostery extension in Firefox

I've implemented the following code to detect ad blockers like Ghostery: <script> var request = new XMLHttpRequest(); request.onreadystatechange = function() { if(request.readyState === 4 && request.status === 200 ) { ...

Exclusive to Firefox: The left and right arrows will shift the entire page

I've encountered a strange issue with my website that only seems to be occurring in Firefox. When using the mouse scroll, I am able to move up and down as expected. However, when using the arrow keys, the entire page shifts to the right in approximately 40 ...

What is causing the WebDriver for Firefox to hang for 2 minutes on an empty page before restarting and finally running the test?

While updating my Java test suite to incorporate Selenium 3 and geckodriver, I encountered a peculiar issue when running the test command: Initially, Firefox opens up to a blank page. It remains in this state for approximately 2 minutes. Then it abruptly ...

The offset value was inconsistent in the desktop version of Firefox

Could you take a look at my code on the fiddle link, Here is the code snippet: <body> <div id="content" style="width:400px; height:110px;"> <svg id="circle" height="300" width="300"> <circle cx="150" cy="150" r="40" st ...

Issues with loading pages in Selenium WebDriver after Firefox update

Recently, I encountered a frustrating issue with Selenium (v. 2.48.0) and Java WebDriver after updating my Firefox browser to version 45 from 44. The problem arose when the page refused to load and instead froze on the Firefox start screen. While I am awa ...

Encountered a system error in C# Selenium with Firefox, as the expected browser binary location was missing and unable to be found in the default location

I am attempting to utilize Selenium with C# and encountering the following error message: System.InvalidOperationException: 'Expected browser binary location, however unable to locate binary in default location. No 'moz:firefoxOptions.binary&ap ...

Extra space within table in Firefox

Experiencing an issue with excess whitespace in a table on Firefox. Visit the live example at The problem can also be seen on this jsFiddle: http://jsfiddle.net/DVbCC/ In Chrome and Safari, rows are neatly arranged with minimal spacing, but Firefox show ...

I am experiencing difficulty selecting choices from a drop-down menu in FireFox 48 when using the marionette driver and selenium 3

When testing with the new geckodriver and marionette enabled for FF48 and selenium 3, I encountered an issue where the test was unable to select options from a dropdown list using any element. Strangely, the test worked perfectly in FF45 and all other brow ...

Selenium tests causing Firefox browser to remain open even after completion

After finishing the tests, Firefox continues to run without closing on Debian Linux operating system using Firefox version 3.6. ...

What steps can I take to ensure a website designed for Firefox will work seamlessly on Safari and Chrome browsers as well?

As someone who is still learning about web development, I find myself struggling with browser compatibility issues. It's frustrating to see my website looking different in Chrome compared to Safari. While I know that browsers interpret code differently, I' ...

Viewport height-responsive image not functioning as expected in Firefox browser

Is there a way to set an image to the 100% height of the browser window, with a small padding at the bottom, and have it centered on the page? I created an example in codepen that works well in Chrome and Safari, but not in Firefox. In Firefox, the image ...

The Selenium Firefox driver has encountered an OSError exception specifically indicating an [Errno 8] Exec format error

def initializeDisplay(self): display = Xvfb() display.start() fp = webdriver.FirefoxProfile() fp.set_preference("browser.download.folderList",2) fp.set_preference("browser.download.manager.showWhenStarting",False) fp.set_preference("brows ...

The use of credentials is not allowed when the ‘Access-Control-Allow-Origin’ CORS header is set to ‘*’

My Java web application makes CORS requests where the browser performs an OPTIONS preflight before the actual request. The format of each request is as follows: Host: localhost:8080 User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:63.0) Gecko/2 ...

The compatibility between Firefox and TinyMCE version 3.4.9 is causing some issues

I have reported a bug to the developers of tinyMCE, but I am hoping that someone else has encountered this issue and found a workaround. Here is the scenario: I have a form with a tinyMCE control that I load into a jquery dialog. It functions properly the ...

Comparison between Bootstrap 4 and Firefox Preload Error

Hello fellow front end developers who are experiencing an issue with CSS preload in Firefox versions above 74.0. I have encountered a problem with the following code snippet: <link rel='preload' as='style' onload="this.onload=null;this.rel='stylesheet ...

Capturing a full-page screenshot using Selenium's Marionette with Python

Following the recent update of Firefox to version 47, we found it necessary to add the Marionette extension in order to continue using Selenium Webdriver. In my case, I also had to upgrade from Selenium 2.52 to 2.53. I rely on the Python version of Seleni ...

How to make Firefox create a new line in a contenteditable field

I am working with a contenteditable div that is within a parent div with a floating width of 50%. My goal is to set the max width of the content editable to match the container, even if the text spans multiple lines. Here is the CSS I tried: .editable-con ...

What is the mechanism behind image pasting in Firefox's imgur integration?

Start by launching an image editing software and make a copy of any desired image. Avoid copying directly from a web browser as I will explain the reason later on. Navigate to "http://imgur.com" using Firefox. To paste the copied image, simply press Ctrl+V ...

When using ContentEditable in Firefox, it generates double line breaks instead of a single one

Noticed an interesting issue with div contenteditable where Firefox is interpreting 1 newline as 2 newlines. Is this a bug or am I overlooking something? Test it out in the example below by typing: Hello World within the contenteditable. When accessi ...

Error encountered while attempting to save files automatically using Selenium WebDriver with C# in Firefox

I developed this code using C# to enable Firefox to automatically save the file without displaying the save as dialog box. FirefoxProfile profile = new FirefoxProfile(); profile.SetPreference("browser.download.manager.alertOn ...

Differences in the rendering of SVG feDiffuseLighting between Chrome and Firefox

Hey there! I encountered a strange issue with my next.js project. It has a default config and includes an SVG filter. <svg xmlns="http://www.w3.org/2000/svg"> <filter id='roughpaper'> <feTurbulence type="fractalNoi ...

Styling an input button to look like a link in Firefox and Internet Explorer

I'm currently using CSS to give my input button the appearance of a link. Here's how I've styled it: input#linkLike { background: none; border: none; cursor: pointer; margin: 0; padding: 0; text-decoration: none; ...

What causes Firefox (Mobile) to zoom out of my webpage?

After launching my webpage on Google Chrome mobile (android), everything loads perfectly. However, when trying to access the site using Firefox mobile (android), most pages load in a zoomed-out view. The issue is resolved by opening the drop-down menu, but ...

Launching an Angular application from the local server

I have successfully deployed an Angular frontend on a server. It is functioning well, with three scripts: /runtime.0fad6a04e0afb2fa.js /polyfills.24f3ec2108a8e0ab.js /main.a9b28b9970fe807a.js My goal is to start this application in Firefox without ...

The alignment of Div elements is off in IE8

I have been struggling to align two divs side by side without any empty spaces on IE 8. Everything looks perfect on Chrome Version 35.0.1916.153 m and Firefox 30.0, but IE 8 seems to be causing some issues. All I want is a main div with two child divs ali ...

Selenium: Issue with pageLoadTimeout not being effective on websites with continuous redirects

I utilize Selenium to navigate through various websites and save their HTML markup. To increase efficiency, I've implemented a pageLoadTimeout to trigger an exception for sites that take too long to load: driver.manage().timeouts().pageLoadTimeout(20, Ti ...

End-to-end testing for an Angular application with a specific requirement to be compatible with Firefox 38

One of my clients is currently using Firefox 38 and I have been tasked with performing end-to-end testing on an Angular application. I am facing difficulties in determining the appropriate versions of Protractor and Selenium to install in order for Selen ...

jQuery functions are malfunctioning on Firefox, yet they are functioning properly on Chrome

Hey guys, can you take a look at this website using both Firefox and Chrome? I've noticed that jQuery doesn't seem to be working properly on Firefox. Any ideas why? ...

Positioning Firefox absolutely within a table-cell element is possible

Interestingly, it's not Internet Explorer causing me trouble this time, but Firefox. Here is the Fiddle link for reference: http://jsfiddle.net/EwUnt/ The purpose of this table is to highlight both the row and column of the cell where the cursor is locat ...

The Ajax GIF Loader is not functioning in the latest versions of Internet Explorer and Firefox, but it is running smoothly in

The animated GIF loader functions correctly in the latest version of Chrome, but does not animate when viewed in IE and Firefox. Below is the code snippet: $("#DIALOG").dialog({ buttons : { "Yes" : function() { ...

What could be causing the lack of responsiveness on this page?

I have created a webpage with over 1100 lines of code using JSF 2.0. The page is filled with PrimeFaces components and I have implemented JQuery to control the appearance and disappearance of these components. The webpage functions smoothly on Firefox 4.0 ...

When the final window is closed, Firefox experiences crashes related to the driver

When working on a project, I sometimes find myself using multiple FF windows and drivers. To initialize, I create a personalized FirefoxProfile or use a default one from Selenium without any modifications. I then add it to DesiredCapabilities, include the ...

Trouble With OnClick and On/Off Class Script Functionality in Chrome and Internet Explorer

I am working on a page with two iframes and a basic navigation bar. The navigation bar links are set up to target one of the iframes and replace its content when clicked. However, I am having trouble highlighting the currently selected link in the iframe - ...

What is the best way to instruct jQuery to disregard an empty server response?

After examining this piece of code: $.ajax({ type: "POST", url: theRightUrl, data: whatToPost, logFunction: whatever, suppressSuccessLogging: !0, dataType: "html" }); I encountered an issue where Firefox displays a "no element ...

The issue of variable stagnation in Firefox content script while utilizing self.port.on

I'm having trouble updating the version var as intended. When I try to update it with the following code: self.port.on("get-version", ver => { version = ver; alert(version); }); An alert pops up displaying the correct version number, but the HTML stil ...

Unable to access webpage using Firefox browser on my MacBook

I am encountering an error when attempting to open the Google homepage on my MacBook. package practice; import org.openqa.selenium.WebDriver; import org.openqa.selenium.firefox.FirefoxDriver; public class Test { public static void main(String[] ar ...

Incorrect Calculation of CSS Grid Container Width in Firefox

When using this CSS Grid code, there is a difference in behavior between Chrome and IE compared to Firefox. https://codepen.io/inkOrange/pen/XGzeMo This layout is intended to scroll horizontally when the content overflows beyond the fixed container size o ...

Challenge with Selenium Firefox Frames

While attempting to locate frames in the Firefox browser, I am not seeing the "This frame" option available. My current setup includes Firefox version 48.0.2564.109 with Selenium. Any assistance in resolving this issue would be greatly appreciated. Thank ...

Using Selenium with Firefox to interact with span elements

Having trouble selecting an element by linkText within a span tag? It works in Chrome, but not in Firefox. The code I'm using is: login.wait.until(ExpectedConditions.elementToBeClickable(By.linkText("Kassa"))).click(); Other elements without the span tag w ...

Issue with Firefox not recognizing keydown events for the backspace key

I am currently developing a terminal emulator and have encountered an issue with capturing the backspace key in Firefox. While I am able to capture the first backspace press and delete the last character in the input prompt, the problem arises when trying ...

Protractor successfully opens Firefox, however no URL is loaded. Chrome, on the other hand, functions perfectly

Every time I attempt to execute my protractor tests on Firefox, the browser opens but no URL is loaded. Eventually, an error message appears in the command prompt: Using FirefoxDriver directly... [launcher] Running 1 instances of WebDriver ERROR - Unabl ...

selenium.getEval() and driver using (JavascriptExecutor) encounter issues with SeleniumException while waiting for the evaluation of evaluate.js in Firefox versions 17 and 19, with webdriver v2.32

Encountered an exception while running JS code on firefox 17.0. The v2.32 changelog states support for 10esr, 17esr, 19, 20, and although the latest webdriver version is 2.35, I'm using v2.32 due to locator issues with certain tests. This setup works flawl ...

Installing the Firefox WebDriver Extension for Selenium WebDriver: A Step-by-Step Guide

After successfully setting up a browser automation project using Selenium WebDriver on one machine, I encountered issues when trying to run it on another. The browser (Firefox) opens but the automation does not happen as expected. Upon timing out, an error ...

An issue arises when using JSON.parse() with regular expression values

I am encountering an issue with parsing a JSON string encoded with PHP 5.2 json_encode(). Here is the JSON string: {"foo":"\\."} Although this JSON string is valid according to jsonlint.com, when using the native JSON.parse() method in Chrome a ...

Is it possible to incorporate a CSS3 transition into the styling of a list of images?

Looking to achieve a CSS3 linear transition for a "list-style-image" specifically for Firefox? You'll need to include "-moz-" in your code. -moz-transition: list-style-image 0.2s linear; However, the above code is not producing the desired result. Is it ...

Unable to access Firefox profile with Selenium WebDriver

Despite trying with both version 32 and the latest version of Firefox, Selenium is still not opening the specified Firefox Profile. Instead, it consistently opens a temporary profile. ProfilesIni profile = new ProfilesIni(); FirefoxProfile myprofile = ...

CSS3 animations with background-image for Firefox are an exciting way to enhance the

I am currently working on a keyframe animation project using CSS. The animation is running smoothly in Chrome with supported -webkit syntaxes. @-webkit-keyframes title_toggle { from { background-image:url(images/title.png); } 75%{ background-image:url(im ...

Using Selenium in Python to effectively capture and analyze network traffic responses

I'm encountering a problem where I can't seem to access the network traffic responses in Firefox using Selenium (Python). While solutions are available for the Chrome webdriver, my specific requirement is to work with the Firefox version. Despite ...

Is there a way to consistently trigger the browser.webRequest.onBeforeRequest event in Mozilla Firefox when it is launched via a link?

Hello knowledgeable individuals. I am unable to solve this issue on my own. Here is the add-on I have created: 1) manifest.json: { "manifest_version": 2, "name": "Example", "version": "1.0", "description": "Example", "permissions": [ "tabs" ...

selenium.common.exceptions.WebDriverException: Error: unable to establish a connection when attempting to launch Firefox browser using GeckoDriver on Raspberry Pi 3

Hey guys, I recently got my hands on a raspberry pi 3 and decided to give running selenium with python 3 a shot. I installed it using the command "pip3 install selenium" and encountered no errors. After that, I created a small test script with the followin ...

Looking to use sendkeys (CTRL + Add) on a webdriver instance for zooming in and out on a webpage

public void resizeBrowser() { try { System.out.println("Executing browser resize function"); WebElement htmlElement = driver.findElement(By.tagName("html")); htmlElement.sendKeys(Keys.chord(Keys.CONTROL,Keys.SUBTRACT)); ...

Revamp Your Workflow with Python: Discover Up-to-Date Guidelines for Automating Selenium Browser Launches

--------Responding to a Post Identified as a Duplicate Question As I am still in the process of learning the basics of programming, I was uncertain about the relevance of the information provided in the other post, particularly since it pertained to the i ...

I would like to know the specific time range for when the "script execution" setting can run under dom.max_script_run_time

I've been exploring the Firefox configuration settings related to Dom.max_script_run_time The default value is set to 10 seconds. My ajax timeout is also configured for 10 seconds. I have a grasp on how ajax timeouts work, starting from sending the xmlh ...

The issue with two different link styles displaying correctly in Internet Explorer but not in other browsers is that when a link is clicked, all links appear

Looking for a testing ground? Check out my website: While everything works smoothly on IE, I've noticed a glitch in other browsers. Clicking on one link causes all links on the page to appear as visited links. Take a look at the CSS code below: @charset ...

How can I handle the Firefox Password Manager Popup in Python 3.7 and Selenium while running a script?

Currently in the midst of my Python 3.7 with Selenium learning journey, I find myself on day 2. Using WebDriver to access a webpage is where I am at, and while I have been making progress, I seem to have hit a roadblock. In my regular browser, disabling th ...

GeckoDriver and Selenium encounter Exec format error on MacOS resulting in OSError: [Errno 8]

While developing a bot using Firefox Gecko Driver, I keep encountering error messages originating from the following lines of code: from selenium import webdriver browser= webdriver.Firefox() Despite adding all the necessary files to my path, including ...