Questions tagged [google-chrome]

Inquiries regarding Google Chrome development, the browser utilizing Blink rendering engine, can be addressed through [google-chrome] tag. However, please note that this platform is not suitable for general browser support concerns or inquiries about customization. For such queries, it is recommended to seek assistance on google-chrome. If you have questions specifically related to Chrome OS or Chromium, kindly use their respective tags: [google-chrome-os] and [chromium].

Cannot launch Selenium Chrome driver

Having trouble launching Chromedriver even though I have the latest chromedriver.exe. Any suggestions? This is the error message I'm encountering: "C:Program Files (x86)Javajdk1.8.0_101injava" -Didea.launcher.port=7535 "-Didea.launcher.bin.path=C ...

Firefox displays an error when using jQuery.load(), but Chrome functions properly without any issues

I have created a function that opens a page in a dialog box instead of the main window. The code has been cleaned up and here is the revised version: var baseUrl = window.location.origin + '/static/docs/'; function handleLinkClick(event) { event.preven ...

Troubleshooting React using breakpoints: A step-by-step guide

Currently I am working with Chrome and facing an issue. For instance, I require Component.jsx and want to set a breakpoint at a specific location. When I press F12, navigate to the Sources tab, and use Ctrl+P to search, I only find 1.chunk.js, bundle.js, ...

The type 'Navigator' does not have the property 'userAgentData' in its definition

Since I'm looking to minimize the information provided by navigator.userAgent, I decided to migrate to User-Agent Client Hints. However, I've encountered an error while attempting to do so: https://i.stack.imgur.com/lgIl7.png Could someone please assist ...

Chrome: Box-shadow not visible on images with a background present

Recently, I have noticed an issue with the box-shadow not displaying on images with a background on my website. This problem started occurring in Chrome a few months ago, despite working perfectly fine around six months ago. To pinpoint the problem, I cre ...

When trying to export a JSON file from an Angular app, the URL is prefixed with 'unsafe' and the download fails with a network error message

Looking for guidance on exporting a JSON file from an angular app. Below is the code snippet I am using: app.js file: app.config(['$compileProvider', function ($compileProvider) { $compileProvider.aHrefSanitizationWhitelist(/^\s*(htt ...

Launch Chrome using Selenium in a specific user profile

Struggling to launch Chrome using Selenium with my default browser settings. Despite specifying the correct path to my user data profile via the AddArgument function, I'm unable to access my logged-in instance of Chrome. Here is the code snippet I hav ...

How to stop Chrome from displaying the annoying prompt "Do you want to leave this site? Changes may not be saved" in Selenium Python

My Python Selenium script follows these steps: A) Executes actions on the main window, B) Opens a second window C) Switches to the second window D) Performs tasks on the second window   E) Closes the second window F) Returns to the first ...

Steps for bypassing the authentication popup in Chrome browser during the execution of a Selenium script

click here for image descriptionWhen I try to log in with the first URL (as shown in the image), it takes me to another URL where I have to input my credentials. However, before reaching that page, a browser-generated pop-up appears that cannot be located ...

When interacting with Chrome, the div gets automatically blurred upon being clicked

While working on the development of our website, we stumbled upon something peculiar. We have a set of divs displayed on the screen, resembling the layout of Pinterest. Upon clicking any of these divs, the content within that particular div is loaded into ...

Unspecified origins of Js in Chrome Extension

console.log(chrome.runtime.sendMessage({from:"script2",message:"hello!"})); However, attempting to send the message from a background script to a content script is proving to be unsuccessful. https://i.stack.imgur.com/ERgJB.png ...

What causes me to struggle with using two different browsers at the same time?

I need help with my code as I am attempting to execute a section in Google Chrome and the rest in Firefox. public class browserSwitch { static WebDriver driver = new FirefoxDriver(); // opening firefox public static void main(String[] args) throw ...

The CSS3 Transform feature kicks in only after the window is resized in Mozilla Firefox

I have created a pure CSS3 parallax webpage by following the method outlined by Keith Clark and using a sample made by Carl Henderson (I can't provide a direct link to his codepen due to my lack of reputation). You can find the code in the main page, ...

The color attribute enhances the appearance with a colored border specifically designed for Chrome users

Starting off, I appreciate the border that Chrome applies to my inputs. However, I am facing an issue with the textarea element. The problem is that the textarea uses the color attribute not only for coloring the text but also as the border color. Here is ...

An error occurred when attempting to make an HTTP POST request to /session with the following parameters: {"desiredCapabilities":{"browserName":"chrome","platform":"ANY" using Selenium and PHPUnit

While running all tests using PHPUnit, I've set up a wrapper that initiates an instance of Apache, then launches the Selenium standalone server, followed by creating the Chrome Remote Webdriver instance at http://localhost:4444/wd/hub. This process ru ...

Using Selenium to input text into the password input field

I am encountering an issue while attempting to log in to my profile. The problem arises when I try to input the password as the cursor appears in the password box, but an exception is thrown when trying to send the keys. Could this be due to a security mea ...

Exception being raised despite handling in JQuery AJAX post request

I am facing an issue with my login JSON service that handles username and password. When I make a call using JQuery 1.10.1 AJAX and input the correct credentials, it functions correctly. However, if I input incorrect credentials, the error function handler ...

Is it possible to view the CSS of a PDF file in print template mode using Chrome?

https://i.stack.imgur.com/XlcWm.png Currently facing an issue with debugging CSS on my PDF template. I am unable to inspect the styles directly in the CSS due to limitations. When using inspect element in Chrome, only the styles for text and elements are ...

The ajax PUT request encounters an internal server error and does not succeed

handleSurprise(userResponse) { // function to handle user's surprise response var updateURL = "/" + serviceContext + "/service/updateinfo/"; var userRespString = JSON.stringify(userResponse); var parsedUserResponse = JSON.parse(userRespString ...

We are unable to start the session: The current ChromeDriver version is only compatible with Chrome version 79 and higher with Oct

Whenever I attempt to execute the "ng e2e" command with Octopus using the specified configuration, I consistently encounter the following error: [07:20:37] E/launcher - session not created: This version of ChromeDriver only supports Chrome version 79 (D ...

What could be the reason that the save password dialog does not appear when Selenium initiates Chrome?

After extensive research on the topic, I have yet to find a solution that works. I consider myself knowledgeable about Selenium and am puzzled as to why things work on Edge (Chromium-Based) but not on Chrome. Launching browser with Selenium I use the sa ...

Chrome clipping positioned spans

Having trouble positioning a label above inline sections with spans in Chrome, as the labels are getting clipped oddly. Check out these screenshots: Firefox view: Chrome view: In the Chrome screenshot, you can see that the labels are being cut off based ...

Looking for ways to locate encoded HTML values in chrome?

Referenced from Microsoft Docs In MVC, the Razor engine automatically encodes all output coming from variables. For example, consider the following razor view: @{ var untrustedInput = "<"123">"; } @untrustedInput In this scenario, ...

Why Chrome Doesn't Alter the State of li Elements

I'm unsure why, but the CSS code in this particular fiddle fails to function correctly on Chrome. On Firefox, when hovering over one of the li elements, the text becomes visible as expected, whereas this does not occur on Chrome. It seems that changing t ...

Property usedJSHeapSize in Chrome

After doing some research online, I found that the documentation on this topic is quite lacking. I am currently dealing with a significant memory leak in my code and have been using: window.performance.memory.usedJSHeapSize However, it seems like the val ...

Google's questionable actions during the user verification process using nodejs raised concerns

In my Nodejs project, I've implemented a user authentication system that involves sending confirmation emails for account verification. Once a user creates an account, they receive an email with a URL to click on and verify their account - a process that ...

What is the reason behind the browser crashing when a scrollbar pseudo-class is dynamically added to an iframe?

1. Insert a new iframe into your HTML: <iframe id="iframe-box" onload=onloadcss(this) src="..." style="width: 100%; border: medium none; "></iframe> 2. Incorporate the following JavaScript code into your HTML file ...

Can you show me where I can find Selenium IDE within Chrome's developer tools?

Just installed the Selenium IDE extension from the Chrome Web Store at this link: https://chrome.google.com/webstore/detail/selenium-ide/mooikfkahbdckldjjndioackbalphokd. However, after opening my developer tools, I can't find the IDE displayed anywhere in ...

Is it possible to integrate Scrapy with the Chrome Browser?

Scraping a web page that utilizes javascript-rendered AngularJS can be tricky. The developers of the site have implemented a feature to detect Safari/Firefox in private browsing mode and prevent scraping. Interestingly, this warning does not appear when us ...

Azure C# integration encountered a mysterious hiccup: Runtime.evaluate exception caused a DOMException error while utilizing Selenium

Every day, I run tests on a Remote Machine using Azure's scheduled run. Unfortunately, some of the tests keep failing and are generating the following error log. How do I go about resolving this issue? Please note that I do not have the method implementat ...

Are AJAX objects supported in both Safari and Chrome?

I asked, Could you please assist me in understanding why my searches work perfectly in IE8 but encounter issues with Safari and Chrome? The website I am referring to is www.netivot.biz. To handle ajax requests, I have employed the following code at www. ...

The alignment of Div elements is off in IE8

I have been struggling to align two divs side by side without any empty spaces on IE 8. Everything looks perfect on Chrome Version 35.0.1916.153 m and Firefox 30.0, but IE 8 seems to be causing some issues. All I want is a main div with two child divs ali ...

Selenium in chrome does not support automatic translation

Whenever I use Selenium WebDriver in Chrome to open a webpage in a foreign language, it doesn't translate the page to English automatically. Is there a way to change this behavior? Interestingly, when I manually open the same page, it does get tran ...

Having issues with the "Uncaught SyntaxError: Unexpected token <" error message

I have been able to successfully send a request to a Basecamp XML file using ajax, but I am encountering an error in Google Chrome: Resource interpreted as Other but transferred with MIME type undefined. Uncaught SyntaxError: Unexpected token < Firefo ...

When working with Angular and NGRX, I often wonder if opening my app in multiple tabs within the same browser will result in all tabs pointing to a single NGRX instance

Is it possible to access my localhost:9000 in multiple tabs? If I open it in 3 tabs, will all those 3 tabs point to a single NGRX instance or will each tab of localhost have its dedicated NGRX instance? I haven't had the chance to test this yet. ...

Unusual glitch found in Google Chrome and Safari when using Google Maps and Ajax functionality

Currently, I am in the process of developing a web application utilizing Google Maps API and ASP.NET Ajax. Below is the JavaScript code I have implemented for the PageLoad: map.openInfoWindowHtml(map.getCenter(),'Hello, <b>world</b>!'); Initi ...

Difficulty encountered while executing Protractor tests with Selenium Server

Attempting to Execute Protractor/Jasmine/Selenium End-to-End Tests Currently in the process of running end-to-end tests using Protractor with the standalone Selenium server and the chrome driver. Encountering a Selenium server error when attempting to ru ...

Automated browser testing using Selenium with Chrome Driver for code-based UI testing

Using Selenium chromedriver; The selenium chromedriver was initialized and the chrome browser window appeared, showing the following information: Starting ChromeDriver (v2.8.241075) on port 10820 [8804:7492:0110/155544:ERROR:chrome_views_delegate.cc(176)] ...

I attempted to activate the hover effect on a DOM element using JavaScript, but was unsuccessful. It appears that achieving this is not possible. However, I am curious as to how Chrome is able to

I attempted to activate the hover state of a DOM element using JavaScript, but had no success. It appears that this task is not achievable in the way I initially approached it. I have heard that creating a class with a hover function and then adding or ...

Error encountered in Selenium with Python when trying to locate Chrome binary for outdated versions of the browser: WebDriverException - Chrome binary not found

Due to compatibility reasons, I have opted to use Chrome version 55.0.2883.75 with Chromedriver v. 2.26. To download the older version of Chrome, I visited , and for Chromedriver 2.26, I got it from https://chromedriver.storage.googleapis.com/index.html?pa ...

The decrementing of jQuery.ajax.active or jQuery.active is not working in Chrome

Despite my extensive research, I have yet to find a solution to my dilemma. Here's the issue: I have a form with three input fields that trigger separate AJAX calls on blur events. These AJAX calls check for the existence of the input data. Upon form submi ...

Tips for implementing cross-origin Reporting API reports with the Report-To header

My API collects Content Security Policy (CSP) violation reports. With the replacement of report-uri by report-to directive, I decided to make the switch. Unfortunately, I'm facing issues with receiving cross-origin reports. I have attempted to use the ...

Is there a reason why the Chrome browser doesn't trigger a popstate event when using the back

JavaScript: $(document).ready(function() { window.history.replaceState({some JSON}, "tittle", aHref); $(window).bind("popstate", function(){ alert("hello~"); }); }); Upon the initial loading of the www.example.com page, the above JavaScript code is ex ...

Attempting to instruct my chrome extension to execute a click action on a specific element found within the webpage

I am currently working on developing a unique chrome extension that has the capability to download mp3s specifically from hiphopdx. I have discovered a potential solution, where once the play button on the website is clicked, it becomes possible to extract ...

What strategies can I employ to ensure that unexpected popups do not disrupt my code execution?

Apologies in advance as English is not my first language. I'm a complete novice when it comes to Python + Selenium, with only about 5 days of experience. Despite looking through similar questions, I have yet to find a solution after searching for about two ...

Unexpected appearance of a blue line in Material UI when the overflow attribute is included

For my React application, I've integrated Material-UI along with styled components. The strange thing is that when I use a Chrome browser to view the app, I encounter an issue that doesn't seem to happen in Firefox. The problem arises when I add the overf ...

The onchange event for the input type=file is failing to trigger on Google Chrome and Firefox

Update: Solved: http://jsfiddle.net/TmUmG/230/ Original question: I am facing an issue with handling image/logo upload alongside a hidden input type=file: <form class="image fit" id="theuploadform"> <input title="click me to chan ...

Edit: "Submit a binary file with just JavaScript"

I am currently developing a Chrome application that utilizes the HTML5 Filesystem API to enable users to import and synchronize files. A challenge I'm facing is when attempting to sync image files, as they appear to become corrupted during the upload ...

Troubleshoot: Why is my Google Chrome not playing videos? Uncover the solution with a

I have created a webpage with an HTML video tag that loads dynamically from a JSON file. I am currently using Chrome 50 for this project. The response is successful, and when inspecting the page using Chrome's developer tools, I can see the video tag prese ...

Browsing through dual snap points simultaneously on Google Chrome

I'm currently developing a website that incorporates scroll snapping for 3 viewport-sized <section> elements set up like so: html, body { scroll-behavior: smooth; scroll-snap-type: mandatory; scroll-snap-points-y: repeat(100vh); scrol ...

Identify and troubleshoot scripts that are included in the response returned by Chrome

I am facing an issue where I have a webpage that loads HTML sections through an AJAX call. The response includes both HTML and JavaScript files. Currently, I am trying to figure out how to set a debug point on the JavaScript file. In Internet Explorer, I ...

Trouble with Google Web Fonts appearing incorrectly on Chrome for Windows 7

Currently facing an issue with a website I am developing using Wordpress: In Chrome, running on Windows 7, the body text on the homepage is supposed to be displayed as a Google Font. However, for some reason, the last line of the text is appearing in the d ...

Looking for a Java resource that houses the ChromeDriver constants for browser preferences?

When using Selenium WebDriver to launch the Chrome browser, the first step is to set the system property, like so - System.setProperty("webdriver.chrome.driver", chromeDriverLocation); In this case, we specify 'webdriver.chrome.driver', which i ...

Open the HTML document and access the file contents

I'm having trouble reading a text file from my computer onto a website. It works fine in Internet Explorer, but won't work in Chrome. I don't have much experience with HTML, so any help would be much appreciated! <html> <body> <div i ...

The execution of consecutive Ajax requests encounters issues in the Google Chrome and Safari browsers

I am facing an issue where I encounter a problem displaying a sequence of dialogue or AJAX results that depend on each other. For instance, when a user clicks to send a message, it triggers an ajax call, which opens a dialogue box. The user fills out the f ...

Issues with fonts in Google Chrome Version 32.0.1700.76 m

After recently updating my Google Chrome browser, I noticed that some of the fonts are not displaying correctly. Interestingly, they appear fine on other browsers, but the issue only seems to occur in Chrome v32.0.17...76 m. The fonts I used were "Open Sa ...

The synchronization between Chrome and Selenium is experiencing difficulty

Attempting to launch a selenium browser with sync option enabled has been proving difficult. Whether I use the --used-data-dir parameter (loading all cookies and extensions from my google account onto selenium) or not, synchronization still does not work. ...

Chrome's inability to efficiently handle chunked responses in comparison to Firefox and Safari

I am currently working on a unique test node server that sends chunked responses every two seconds with the specified headers: response.setHeader('Content-Type', 'text/plain') response.setHeader('Transfer-Encoding', 'chunked') Every two seconds, I write ...

When using Chrome with Selenium, the web page is able to detect the presence of Selenium and prevents users from logging in

Attempting to log in to the specified page using python, selenium, and chrome is proving to be quite a challenge. Interestingly, you don't actually need my real username and password to replicate this issue. Simply use any random credentials and you'll en ...

No modifications to the CSS can be made within the "alterations" section of the Console drawer in Chrome

Is there a way to easily track and summarize all of my live CSS changes in the Chrome browser? I've searched on Stack Overflow, but haven't found a solution that works for me. This specific answer seems like it could be the most helpful for achieving what ...

The height of the browser action will not return to its original state

I'm currently working on an extension that provides responses based on user text input. However, I'm running into an issue where the height of the browser action won't reset properly. I've tried various methods to fix this problem, including using window ...

Press the record button on the about:tracing page by using Selenium

I've been attempting to click on the Record button using Selenium in Google Chrome but have been unsuccessful. The element cannot be found even after trying with both id and xpath. Any guidance is much appreciated. WebElement record = driver.findElem ...

IE and Chrome are experiencing issues where the radio buttons are disappearing

Here is the style sheet code: select,input ,td a {border:1px solid green; width:25%;height:25px;font-size:20px;margin- left:.1em;} input.myradio {border:none;width:0%;height:0%;font-size:0%;} And here is the corresponding HTML code: <td><inpu ...

The res.download method in a node.js express app does not display the correct filename upon downloading

Starting with what I have: core.app.get('/download/:key', function (req, res) { require("./../../module/fileupload.js").download(req.params.key, function(file, filename) { console.log(file + " - " + filename); if (file != null) res.dow ...

Having trouble resolving the issue of connection timeout with Chrome while utilizing chrome version 78 alongside chrome driver version 78.0.3904.70? Here's a step-by-step guide on how to troubleshoot and fix this error

After updating my Chrome browser to version 78, I encountered an error when trying to run any automation code. To resolve the issue of timeout while connecting to ChromeDriver and related test frameworks, ensure that ports are protected from access by mal ...

When there are numerous websocket connections in Google Chrome, Socket.io can encounter issues and break down

I am encountering an issue where I create 60 client connections to a socket.io server using Google Chrome browser. The server sends screenshots to the clients at specific times, but some of the websocket connections, which are subprotocols of socket.io, ge ...

What is the best way to store a downloaded video from the server?

I am currently in the process of downloading a video from a server using JavaScript XHR (specifically Angular $http GET with response type 'blob'). My question is, how can I save this downloaded video to a Chrome application's local storage ...

Avoiding Socket IO from timing out when the browser page is inactive or not the focused tab on Google Chrome, Mozilla Firefox, and Safari mobile browsers

I have developed a basic chat application using socket io. The functionality is quite similar to the socket io chat official demo. However, I am facing an issue where Socket io times out on all mobile browsers when the user minimizes the page, opens anothe ...

Animations with absolute positioning not rendering correctly in Safari

I recently created a basic animation that involves setting an element to "position: absolute" in order to translate it. Everything functions perfectly as intended on Chrome, however, when testing it on Safari, the absolute positioning seems to be completel ...

The request to generate a worker from 'blob:<URL>' was denied due to infringement of the Content Security Policy rule "child-src 'self' *.website.com."

I am currently developing a Chrome extension (MV3) that involves loading libraries which use workers. I have added the worker files (.js and .wasm) to the resource folder in order to load them "locally" into the Chrome extension, and they are also included ...

Functions perfectly on Chrome, however, encountering issues on Internet Explorer

Why does the Navigation Bar work in Chrome but not in Internet Explorer? Any insights on this issue? The code functions properly in both Internet Explorer and Chrome when tested locally, but fails to load when inserted into my online website editor. Here ...

When a <dl> element is nested within an <ol>, it will be rendered as a list format

I'm facing an issue with my CSS that affects how different browsers render definition lists embedded within ordered lists. In IE10, the list displays as expected - a bulleted list inside the ordered list without affecting the numbering. However, Firefox an ...

Latest Chrome Update Resolves Fixed Positioning Bug

I am currently facing an issue with setting the second background image in the "Great people providing great service" section to a fixed position. You can view the website here: While the fixed position works in Safari and Firefox, it used to work in Chro ...

Cookie version 68 and below is no longer supported in Chrome

Currently, I am conducting tests on a React application that utilizes an Nginx and Express backend with cookie-based authentication. While testing on older browsers through services like BrowserStack and LambdaTest, I encountered a peculiar issue with cook ...

Sending a message to an iframe from a different origin using JavaScript

Just starting out with JavaScript and I'm attempting to send a message to my iframe in order to scroll it. Here is the code I am using: scroll(i) { var src = $("#iframe").attr("src"); $("#iframe").contentWindow.postMe ...