google-chrome

Sourcemaps are detected in chrome but original source is not loaded, using webpack-2

女生的网名这么多〃 提交于 2020-12-19 19:34:50
问题 When running an application that is built using webpack 2, sourcemaps are detected in chrome but original source is not loaded. I'm using webpack beta21. These files used to be detected automatically, ie when a breakpoint was put in the the output from webpack js file, the source view would jump to the original source input to webpack. But now I am stuck with this screen: config: var path = require("path"); var webpack = require("webpack"); var WebpackBuildNotifierPlugin = require('webpack

org.openqa.selenium.NoSuchSessionException: no such session error in Selenium automation tests using ChromeDriver Chrome with Java

纵饮孤独 提交于 2020-12-18 07:42:14
问题 Getting "No such session exception" while running selenium in my pipeline. I find many solutions related it but none worked for me. Any assistance or idea? Exception trace: org.openqa.selenium.NoSuchSessionException: no such session (Driver info: chromedriver=2.38.552522 (437e6fbedfa8762dec75e2c5b3ddb86763dc9dcb),platform=Linux 3.10.0-957.21.3.el7.x86_64 x86_64) (WARNING: The server did not provide any stacktrace information) Command duration or timeout: 0 milliseconds Build info: version: '3

Stop Chrome from suggesting Addresses with HTML while using Google Places Autofill

。_饼干妹妹 提交于 2020-12-15 06:39:41
问题 Given the following input: <input id="residential-address" placeholder="Residential Address" autocomplete="off" type="search" /> I continue to see addresses recommended: [![enter image description here][1]][1] I see that my browser setting tell Chrome to autofill, but then google's own location autocomplete widget UX becomes broken (with autofill overlapping the [autocomplete][2] widget). [![enter image description here][3]][3] What's the proper way to go about telling the browser to back off

Stop Chrome from suggesting Addresses with HTML while using Google Places Autofill

余生长醉 提交于 2020-12-15 06:39:03
问题 Given the following input: <input id="residential-address" placeholder="Residential Address" autocomplete="off" type="search" /> I continue to see addresses recommended: [![enter image description here][1]][1] I see that my browser setting tell Chrome to autofill, but then google's own location autocomplete widget UX becomes broken (with autofill overlapping the [autocomplete][2] widget). [![enter image description here][3]][3] What's the proper way to go about telling the browser to back off

Chrome extension: How to remove orphaned script after chrom extension update

不羁的心 提交于 2020-12-15 05:20:08
问题 I have a chrome extension with a popup page which passes a boolean variable to my content page via simple one-time requests. The content page would then do some action based on the status of the boolean variable passed from the popup page. This was working perfectly until I accidentally removed the extension (still in developer mode, the extension is unpacked) and had to re-load it. This caused an extension context invalidated error to appear in the popup inspection console and the webpage

How can I run my tests with older chrome version in cypress

 ̄綄美尐妖づ 提交于 2020-12-15 03:42:59
问题 Now my cypress version is 3.8.2 And when I am opening cypress window there are chrome version is 79. I want to run my tests in chrome 70 version. I updated my chrome in my computer and now it 70 version. When I am running my test with selected command npx vue-cli-service test:e2e --headless --browser chrome Test is running in Chrome 79. How can I change my chrome version for running. 回答1: As per the documentation, the default chrome location to be auto-detected by cypress is "C:/Program Files

Anchor download attribute created with javascript not working on iOS Chrome

好久不见. 提交于 2020-12-13 19:05:49
问题 I have a video/mp4 file saved in AWS S3 bucket, which should be downloaded from a client device (phone or computer) when the user clicks on an icon. I first make a request using fetch , and then create a blob object from the response. Next, I create an anchor element using javascript, I attach the href attribute and trigger it's click as on the code below: fetch(url, { headers: new Headers({ 'Content-Disposition': "attachment; filename='file-name.mp4'", }), }).then((response): void => { if (

Anchor download attribute created with javascript not working on iOS Chrome

狂风中的少年 提交于 2020-12-13 19:00:33
问题 I have a video/mp4 file saved in AWS S3 bucket, which should be downloaded from a client device (phone or computer) when the user clicks on an icon. I first make a request using fetch , and then create a blob object from the response. Next, I create an anchor element using javascript, I attach the href attribute and trigger it's click as on the code below: fetch(url, { headers: new Headers({ 'Content-Disposition': "attachment; filename='file-name.mp4'", }), }).then((response): void => { if (

How to get mailto working on android chrome?

感情迁移 提交于 2020-12-13 11:39:49
问题 So I've seen a couple questions on here about mailto not working on android, my problem is a little bit more specific than that. My website has a mailto link setup as a submit button to send forms filled out on my website straight to my email. The link works just fine on desktop in chrome and firefox, and was also tested and working on an iPhone 8+. However, the button did absolutely nothing in Chrome on my Samsung Note 8. I thought it was just android, so I decided to test it on Samsung's

Need help to click on the element under the shadow Root (closed) type

ε祈祈猫儿з 提交于 2020-12-13 10:59:09
问题 Null Pointer Exception on click at the element located inside of the shadow Root (closed) Tried to handle it with Java Script: public WebElement getShadowRootElement(WebElement element) { return (WebElement) ((JavascriptExecutor) driver).executeScript("return arguments[0].shadowRoot", element); } Result: Cannot read property 'shadowRoot' of null Added screenshots: 1. 回答1: If your usecase is to interact with the <path> element which is within the <svg> tag, is indeed within a #shadow-root