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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
$.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 ...
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 ...
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 ...
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 ...
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 ...
<?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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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( ...
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. ...
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 ...
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 ...
Is there a way to launch a new tab within the current Firefox browser using Selenium WebDriver (also known as Selenium 2) in Java? ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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> < ...
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 ...
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, ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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, ...
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 ...
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'); ...
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 ...
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"); ... ...
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 ...
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 ...
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= ...
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: ...
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 ...
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 ...
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 ...
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 ...
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; ...
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 = () = ...
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 ...
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; ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...