Open Firefox browser with Ruby automation script

How is it possible to open FireFox browser by Ruby(for automation script)? I use @browser = RSpecSeleniumHelper.connect_browser('/admin/', '*firefox') but it doesn't work.

Why are linkbuttons not grayed out when disabled in FireFox?

Why when I set enabled=false on a button does it not render correctly in Firefox? Instead of graying out the link it is still blue. [UPDATE] ASP.net already removes such tags on the link so the...

jQuery $(document).ready fires on one computer and not others

I have the following jQuery code (simplified for question purposes): $(document).ready(function() { alert("Test"); }); Its inside a the of a .NET master page. This code fires on some of...

Add-on SDK calling dispatchEvent does not send event from content script to a page

I have simple Firefox extension (based on Add-on SDK) with pageMod. pageMod injects some script to a page, which calls one function: function dispatchEvent(name, data){ try { data =...

localStorage unreliable in Firefox

I'm working on a deck building application for a card game I play. I'm using localStorage to save and retrieve decks. It seems to be working flawlessly in Chrome, but in Firefox it is working...

issue with starting java web start application on linux

Operating System: Linux version 2.6.18-308.1.1.el5 ([email protected]) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-52)) #1 SMP Fri Feb 17 16:47:13 EST 2012 Java Version: Match:...

How can I emit message in panel's onMessage method?

I meet a problem with Firefox extension development using Addon Builder when I emit message in panel's onMessage() method. And the error info is "self is not defined". My code is like this: in...

Firefox addon: Why the self.port in the panel's contentscript is undefined?

I meet a strange thing with Firefox addon development: I write code like this (I convert the commented code from Chrome extension to Firefox addon code): function...

How can I add a "new tab" button next to the tabs of a QMdiArea in tabbed view mode?

I'd like to have a "new tab" button much like Chrome or Firefox has for my QMdiArea. I can make a button or menu item somewhere that adds a new subdocument to the MDI thing, but how can I make it...

How do I make flex box work in safari?

How do I make flex boxes work in Safari? I have a responsive nav that uses a CSS flex box to be responsive and for some reason it won't work in Safari. Here is my code: <nav id="menu"> <a...

User suddenly getting "XPath Evaluator is Undefined" error

This is an issue coming from a user of a system I support. The system is a web-based enterprise application. I should note that I am not the developer for it. The reason why I am not asking their...

Scroll bar not visible in Safari w/ overflow-y: scroll

When having a fixed element that has overflow: auto or scroll contained in a body element that has overflow: hidden, in Safari 8.0.x the scroll bar is not visible, but the element still scrolls....

Chrome Autofill/Autocomplete no value for password

When you have saved username and password for some site Chrome will autofill that username and password, but if you try to get the value for the password input field it is empty String even though...

How to change the playing speed of videos in HTML5 on mobile?

According to this site, this is supported in the playbackRate and defaultPlaybackRate attributes, accessible via the DOM. But this is *not working on mobile*. Example: <!DOCTYPE html> <video...

Chrome returns 0 for offsetWidth of custom HTML element

While trying to create an Angular directive that adapts the size of its content to the size of the container, I stumbled over the following issue: Minimal HTML snippet: <my-tag id="testWidth"> ...

PHP FPDF Failed to load PDF document in Chrome

I am trying to generate a pdf document using fpdf library with php but I am getting an error in chrome as Failed to load PDF document. I am able to view the document properly in firefox. Below is...

Selenium - Visual Studios- C# - All (chrome, firefox, and internet explorer) webdrivers unable to start driver service

I'm trying to set up Selenium for testing and none of my webdrivers seem to work. I have tried moving them around in the project folder and the only way I can get Visual Studios to locate them is...

Can't upload files larger than 50kb with AJAX

I'm not sure why the my code below doesn't handle any files that larger than 50kb on my hosting though I works fine on localhost. I tested many different file sizes and I'm pretty sure 50kb is its...

Is MDN wrong about the html main tag in their documentation?

I was stumbling about the MDN documents and saw that they said it was ok to use the main tag in article elements, while W3 says it should not be a decedent at all within the article...

Python, PhantomJS says I am not using headless?

my code is: from selenium import webdriver driver = webdriver.PhantomJS(executable_path='driver/bin/phantomjs.exe') driver.get("https://www.test.com") print(driver.current_url) It seems to run...

CSS animate custom properties/variables

I have been trying to get this to work for a while. The point is that the inner div will have some shape and there will probably more than one (That's why I used the nth-child selector). This...

Different CUDA versions shown by nvcc and NVIDIA-smi

I am very confused by the different CUDA versions shown by running which nvcc and nvidia-smi. I have both cuda9.2 and cuda10 installed on my ubuntu 16.04. Now I set the PATH to point to cuda9.2....

How to boost MIT Scratch 3 performance in "full screen" mode?

I am using the version 3 of MIT-Scratch to create a simple game. It's running smooth in the (smaller) editor view, but it hast quite significant lag (only a few fps) in the full screen mode, on...

Yi2 Download File Using SendFile()

I am attempting to use the built in function sendFile() provided by Yii2 to allow users to download files. This will not, however, actually download the file. Below is my ajax code $.ajax({ ...

Content Security Policy: The page’s settings blocked the loading of a resource at inline (“default-src”)

I understand there are many similar questions. However, I'm still new to MERN and I am looking for a simplified answer to this problem. I'm following a tutorial on the MERN stack, the application...

Heroku build failure with react and tailwind

I tried deploying this to Heroku and this the error I am receiving while trying to push it up into Heroku. Theres are the errors I am currently getting. I see that the error I am currently getting...

Chrome + Dev Tools poor performance

That's the test page for this issue: https://kasheftin.github.io/chrome-vue-draggable-performance/ Basically, it's just 10000 divs + simple drag-scroll plugin. I'm trying to find the reason of...

Video Proof: Why do I get the CloudFlare 1020 ERROR when I'm running my bot?

this is my first post and I'm facing a though problem since weeks. I developed an account creation bot with python to sign up accounts on a resell platform 24/7. https://youtu.be/jOxEtLjROLI <-...

Chrome is forcing a white background on frames only on some websites

I'm building a Web Extension that injects a local page and I reached a strange Chrome limitation on some websites: I can't set the iframe to be transparent: Try this on GitHub.com (after login)...

Property 'exact' does not exist on type

I am trying to use react-router-dom inside my react app and also I am using typescript instead of javascript. The issue here is that I can't import Route inside my and make it work. I already...