firefox

Why do only the first two curves of this SVG display in Firefox?

自闭症网瘾萝莉.ら 提交于 2021-01-29 07:22:52
问题 Why does this SVG display in its entirety in Chrome, but not in Firefox? It is handcrafted, and I'm trying to figure out if I missed something, or I'm using it incorrectly - or, if it's instead just a problem with Firefox. The correct display would seem to be Chrome's (six 'bumps' visible), while in Firefox it only displays the first two curves (the first 'bump'). <svg width="450" height="50" viewBox="0 0 450 50"> <path d="M0,0 C13.642086,0,23.815591,50,37.457677,50 C51.099763,50,61.273268,0

Python and selenium: how to change Firefox's profile multiple times

百般思念 提交于 2021-01-29 06:31:53
问题 I set up Firefox's profile and launched the driver with that profile, after that, I want to know how to change some preferences on that profile multiple times, or how to change the profile after launching the driver? here is my code for setting up the profile: profile = webdriver.FirefoxProfile() profile.set_preference('browser.download.folderList', 2) profile.set_preference('browser.download.manager.showWhenStarting', False) profile.set_preference('browser.helperApps.alwaysAsk.force', False)

Python and selenium: how to change Firefox's profile multiple times

耗尽温柔 提交于 2021-01-29 06:23:24
问题 I set up Firefox's profile and launched the driver with that profile, after that, I want to know how to change some preferences on that profile multiple times, or how to change the profile after launching the driver? here is my code for setting up the profile: profile = webdriver.FirefoxProfile() profile.set_preference('browser.download.folderList', 2) profile.set_preference('browser.download.manager.showWhenStarting', False) profile.set_preference('browser.helperApps.alwaysAsk.force', False)

HTML5 MediaRecorder capture very slow?

本秂侑毒 提交于 2021-01-29 05:44:39
问题 This code below works as a test to render a camera video stream on a video element then record that stream and render it to another video element: $(function () { var handleSuccess = function(stream) { var player = document.querySelector("#vid-user"); player.srcObject = stream; console.log("Starting media recording") var options = { videoBitsPerSecond : 2500000, mimeType: 'video/webm' }; var mediaRecorder = new MediaRecorder(stream, options); var guestPlayer = document.querySelector("#vid

Selenium : How to stop geckodriver process impacting PC memory, without calling driver.quit()?

社会主义新天地 提交于 2021-01-29 04:40:54
问题 There is a test, smth like: import //needed imports public class TestClass{ WebDriver driver; @Before public void setUp() { //some code } @Test public void test1() { //some code, including init of driver (geckodriver) } //@After // public void tearDown() { // driver.quit(); //} } So, I inited geckodriver, and successfully running my tests, using firefox instances. But I want Not to close firefox window after each run, because I just want to analyse what I have, and fix any needed, after test

Selenium : How to stop geckodriver process impacting PC memory, without calling driver.quit()?

心不动则不痛 提交于 2021-01-29 04:37:43
问题 There is a test, smth like: import //needed imports public class TestClass{ WebDriver driver; @Before public void setUp() { //some code } @Test public void test1() { //some code, including init of driver (geckodriver) } //@After // public void tearDown() { // driver.quit(); //} } So, I inited geckodriver, and successfully running my tests, using firefox instances. But I want Not to close firefox window after each run, because I just want to analyse what I have, and fix any needed, after test

HTML5 audio tag - Handling of m3u8 in chrome/firefox

橙三吉。 提交于 2021-01-29 01:41:55
问题 I'm facing issues with m3u8 playlists on chrome and firefox (edge works like a charm) I'm trying to send data converted with ffmpeg the line I use for conversion is the following making the m3u8 file at same time: ffmpeg -i .\european-anthem-2012.mp3 -c:a aac -b:a 64k -f segment -segment_time 15 -segment_time_delta 3 -segment_list_type m3u8 -segment_list playlist_aac.m3u8 outfile_aac-%03d.aac As destination formats I've tried also mp3: -c:a mp3 -b:a 64k and vorbis: -c:a libvorbis -b:a 64k the

Selenium Not able to run Firefox browser from Jenkins

*爱你&永不变心* 提交于 2021-01-28 12:05:10
问题 I tried running Automated test using selenium on firefox through jenkins on Ubuntu Machine but not able to run it. But the same code is running without failure using Eclipse. I am running it as maven project. Getting following error- "[INFO] Running TestSuite 1524549883598 geckodriver INFO geckodriver 0.20.0 1524549883615 geckodriver INFO Listening on 127.0.0.1:14395 1524549883939 mozrunner::runner INFO Running command: "/usr/lib/firefox/firefox" "-marionette" "-profile" "/tmp/rust_mozprofile

Accessing partial results of a FileReader in Firefox

♀尐吖头ヾ 提交于 2021-01-28 11:55:57
问题 I want to use a FileReader in my web application to partially load a CSV file into the browser. However, I am not able to access partial results in Firefox 27. My application requires only the first 100k bytes of the CSV file to populate a data preview. Therefore, I setup, start, and then abort the reader after a certain amount of data has been loaded. Here is an example that works fine in Chrome 35: warn = (a...) -> console.warn a... readFile = (file,cb,limit=1e5) -> warn "start reading file

WebDriverException: Failed to connect to binary FirefoxBinary(C:\Program Files\Mozilla Firefox\firefox.exe) with GeckoDriver Firefox and Selenium Java

旧时模样 提交于 2021-01-28 11:41:54
问题 Using Selenium 3.1.0, firefox latest version 72.0, default firefox driver 2.53.1 here is my code System.setProperty("webdriver.gecko.driver" ,"C:\\Users\\sindhusha.tummala\\Downloads\\geckodriver.exe"); driver = new FirefoxDriver(); Still i am getting the error org.openqa.selenium.WebDriverException: Failed to connect to binary FirefoxBinary(C:\Program Files\Mozilla Firefox\firefox.exe) on port 7055; Could any one help with this 回答1: This error message... org.openqa.selenium