google-chrome

page-break/webkit-region-break not working in chrome anymore?

感情迁移 提交于 2021-01-27 04:50:09
问题 I'm trying to make Chrome work with page-break for printing. I've found multiple topics here, and tried a lot of possible solutions, but non of them worked for me. The topic's i've tried: Google Chrome Printing Page Breaks, Page-Break-inside property is not working in chrome, CSS Page-Break Not Working in all Browsers And more.. I've created a jsfiddle to show what i've got for code: http://jsfiddle.net/bLezsLkr/1/ (can't post without code: CSS which is used) @media print { .pageBreak { page

org.openqa.selenium.WebDriverException: unknown error: Chrome failed to start: exited abnormally

笑着哭i 提交于 2021-01-27 04:47:54
问题 I wanted to carry out the run for my regression tests on Chrome browser hosted on the Linux platform (Red Hat Enterprise Linux Server release 7.0 (Maipo)). Following sample test was created for the same: import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; import org.openqa.selenium.chrome.ChromeDriverService; import org.openqa.selenium.remote.DesiredCapabilities; import org.openqa.selenium.remote.RemoteWebDriver; import java.io.File;

org.openqa.selenium.WebDriverException: unknown error: Chrome failed to start: exited abnormally

半世苍凉 提交于 2021-01-27 04:47:12
问题 I wanted to carry out the run for my regression tests on Chrome browser hosted on the Linux platform (Red Hat Enterprise Linux Server release 7.0 (Maipo)). Following sample test was created for the same: import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; import org.openqa.selenium.chrome.ChromeDriverService; import org.openqa.selenium.remote.DesiredCapabilities; import org.openqa.selenium.remote.RemoteWebDriver; import java.io.File;

org.openqa.selenium.WebDriverException: unknown error: Chrome failed to start: exited abnormally

时光毁灭记忆、已成空白 提交于 2021-01-27 04:45:35
问题 I wanted to carry out the run for my regression tests on Chrome browser hosted on the Linux platform (Red Hat Enterprise Linux Server release 7.0 (Maipo)). Following sample test was created for the same: import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; import org.openqa.selenium.chrome.ChromeDriverService; import org.openqa.selenium.remote.DesiredCapabilities; import org.openqa.selenium.remote.RemoteWebDriver; import java.io.File;

Raise Chrome JS heap limit?

笑着哭i 提交于 2021-01-27 04:36:51
问题 I have a JavaScript application that uses way too much memory. It doesn't crash out the tab, but it can take minutes to load, most of which is spent in GC. I'm using the heap profiler to see what functions are allocating the most memory, which works great. Is there some way to get Chrome to allow a larger JS heap per process, so that I can turn around test runs on reducing memory pressure without waiting minutes for GC? A command-line argument I couldn't find, perhaps? 回答1: Yes the

Rems rendering differently between Chrome and Firefox

牧云@^-^@ 提交于 2021-01-27 03:55:51
问题 I've noticed a slight issue using rems when it comes to comparing how they render in Chrome and Firefox. Using the following CSS: html { font-size: 62.5%; } .rem-test { width: 50%; height: 20rem; background: red; } The results are slightly different when rendered, Firefox shows the box shorter than it looks in Chrome: Is there something I can do to stop this happening? Here's a pen: http://codepen.io/abbasinho/pen/WbJWNq 回答1: That happens most certainly because your browsers have different

Download ICS file with Google Chrome on iPhone

a 夏天 提交于 2021-01-27 03:54:21
问题 I have an ICS file ('text/calendar' MIME type) stored on my server. In JavaScript I call: window.open("/path/to/file.ics"); It works on all browsers, even on Safari on my iPhone. But when I try on Chrome (the iPhone version) nothing happens. Nothing downloads. There are no errors on the screen―nothing. Maybe someone has been there before and has some suggestions. Thanks in advance! 回答1: It should also be possible to use the good old create a download link, append it to the document, click it,

opencart 2.0 SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data OK

一曲冷凌霜 提交于 2021-01-27 03:50:40
问题 I looked all over the internet and found no answer. Basically my problem is whenever I try to edit orders and change stores I get the SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data OK in firefox and in chrome I get SyntaxError: Unexpected end of input OK. Has anyone found a "real" solution for this because I tried all that was suggested but they don't work. From changing the api_id to making a secondary API. And even the .htaccess method. 回答1: I got the

Is there something like source maps for CSS?

帅比萌擦擦* 提交于 2021-01-27 01:53:29
问题 I'm dynamically adding CSS tags to a page with jQuery: $('<style type="text/css"/>').text(css).appendTo(document.head); When viewed in the Chrome Developer Tools, all of the CSS appears as "localhost", which isn't always helpful: Is there anything like Source Maps for CSS which would let me identify the source of the CSS to the debugger? 回答1: Add a sourceURL to the inline style tag as you add it. /*@ sourceURL=mystyles.css */ This will give that inline style tag a temporary name that will be

Postman is not using cookie

£可爱£侵袭症+ 提交于 2021-01-26 19:31:34
问题 I've been using Postman in my app development for some time and never had any issues. I typically use it with Google Chrome while I debug my ASP.NET API code. About a month or so ago, I started having problems where Postman doesn't seem to send the cookie my site issued. Through Fiddler, I inspect the call I'm making to my API and see that Postman is NOT sending the cookie issued by my API app. It's sending other cookies but not the one it is supposed to send -- see below: Under "Cookies", I