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].

Unable to view the image in browsers other than Internet Explorer

On a webpage, there is a feature where clicking on the "Add More" link should display an input box and a "Delete" button image. Surprisingly, this functionality works perfectly on IE browsers, but not on Mozilla or Chrome. In non-IE browsers, only the text ...

Obtaining the console.log data from Chrome using the Selenium Python API bindings

Currently, I am utilizing Selenium to conduct tests in Chrome through the Python API bindings. I am facing difficulties when it comes to configuring Chrome in order to access the console.log output from the executed test. While exploring the WebDriver ob ...

A Step-by-Step Guide to Launching PDF Blob from AJAX Response in a Fresh Chrome Tab

I'm sending a POST request to a server, and in response, I receive a PDF file that is returned as a blob. To handle this blob, I am using the "handle-as='blob'" attribute of iron-ajax (a Polymer element), just to cover all bases. Now, my goal is to displ ...

What causes the inconsistency between Chrome's print CSS emulation and the Print Preview feature?

My website is based on Bootstrap 3 and ensuring that certain pages print properly is crucial for our customers. While most of the site prints fine, we are having issues with modal dialogs. I have been experimenting with Chrome's (v42.0.2311.135 m) CSS pri ...

How can I customize the color of Chrome's default date and time picker to a different shade of blue?

Is there a way to customize the color of the blue buttons, text, and date indicator in the native datetime picker for Chrome using CSS? https://i.stack.imgur.com/eZSaE.png ...

What causes the difference in behavior between Firefox and Chrome when it comes to multiple column rendering and the use of overflow

Recently, I came across an interesting issue in Firefox related to lists inside a div with columns:2 set. In Firefox, when overflow:hidden is applied to the list, it stops rendering in 2 columns. However, in Chrome, the list continues to render in 2 colum ...

The chromedriver.exe application encountered an error while attempting to open the URL "http://www.example.com/" using the driver.Navigate().GoToUrl method

When using navigate.GoToUrl("http://www.example.com/"), the ChromeDriver.exe stops working, but functions properly when the FirefoxDriver is used: using (IWebDriver driver = new ChromeDriver(DRIVER_PATH)) { // driver.Manage().Timeouts().ImplicitlyWait ...

Is Bootstrap CSS cached by Chrome?

As I began a new project, I decided to tweak the color settings in bootstrap. During debugging in Visual Studio, everything appeared as intended. However, after publishing the site for the first time on a server, I noticed that the color change I made in ...

Using the Selenium library with the Chrome browser for test automation, along with Maven and JUnit for project

I have a Maven test project that is both keyword driven and data driven using JUnit. After executing the quit keyword, chrome tabs are opening automatically. I am currently using the Chrome browser. I attempted to terminate the process in Eclipse, but th ...

Problem with X-editable clicking functionality on Chrome browser

Bootstrap version 3 Having trouble with X-editable inline mode - the button click is not hiding the inline form if there are no changes in the field. I found some older discussions about this issue in the thread linked below, but they are from 8 months ag ...

When using jQuery with a large selectbox, you may encounter the error message: "Uncaught RangeError: Maximum

My select box works fine in IE and Mozilla, but throws an uncaught rangeError in Chrome when choosing the "Others" option to display a second select box with over 10k options. How can I diagnose and resolve this issue? <!DOCTYPE html> ...

Is there a workaround utilizing calc() and vh specifically for Chrome browsers?

Is it possible to find a CSS-only solution for incorporating vh in calc() functions specifically for Chrome browsers? I am trying to implement calc(100vh - 25px) as the top margin in order to make a 25px bar stick to the bottom of the page, but I am facin ...

The Chrome debugger fails to display variable values when hovering the mouse over them

After creating a basic React app using the command "npx create-react-app my-app --template typescript", I encountered an issue where the values were not appearing in Chrome dev tools when I added a breakpoint in the code. Is this expected behavior for a Re ...

Cross-browser compatibility issue: Chrome displays image class in HTML CSS, while Firefox does not

I am building a webpage and have encountered an issue with displaying images in different browsers. Specifically, the image appears correctly in Chrome and Safari but doesn't show up in Firefox. By "doesn't show," I mean that the image is not visible. ...

Encountering HTTP 404 Errors in Specific Directories when Accessing Server Hostname Using Chrome and Internet Explorer (PHP running on IIS)

I am encountering an issue where I am unable to access specific directories on my website due to URL corruption, but this problem only occurs with certain browsers when addressing the server hostname instead of 'localhost'. My PHP web application is hoste ...

Enhancing productivity with tools for developers and effortless tab navigation

During my development process, I always keep the developer tools open on one or more of my tabs. However, I noticed that when I switch to a tab where the developer tools were not previously open, a resize event is triggered. Strangely, this event causes el ...

Is it possible for a chrome extension to allow only specific third-party cookies and storage to be

My Chrome extension inserts an iframe from foo.com into bar.com, creating a situation where bar.com now includes a foo.com iframe. However, I have observed that this iframe encounters difficulties when attempting to write to localStorage if the user has ...

An IllegalAccessError was encountered when attempting to access a method in the com.google.common.util.concurrent.SimpleTimeLimiter class while using Selenium ChromeDriver with Java

My version of Chrome is currently 75.0.3770.142 and I am incorporating ChromeDriver 75.0.3770.90 into my code with the following pom dependency: <dependency> <groupId>org.seleniumhq.selenium</groupId> <artifactId> ...

What is the best way to retrieve the value of a property within a JavaScript object?

I am facing an issue with retrieving the value of the status property from an object in my code. Below is a snippet of what I have tried: console.log("Resource.query()"); console.log(Resource.query()); console.log("Resource.query().status"); console.log(R ...

Could the autofill feature in Chrome be turned off specifically for Angular form fields?

Even after attempting to prevent autofill with autocomplete=false and autocomplete=off, the Chrome autofill data persists. Is there a method to disable autofill in Angular forms specifically? Would greatly appreciate any recommendations. Thank you. ...

Selenium encountering issues when trying to run using the default Chrome user profile

Greetings, I am facing an issue while trying to run my selenium python script with the default chrome profile that is linked to my email. The code runs smoothly in guest mode, which is the profile selenium defaults to, but encounters errors when I include ...

Unable to assign focus to textbox

In my chrome extension, I have implemented two text boxes - one for entering a URL and the other for LDAP. Upon clicking on the extension icon, a popup page opens where I automatically fill the URL text box with the current page's URL using the code s ...

The use of credentials is not allowed when the ‘Access-Control-Allow-Origin’ CORS header is set to ‘*’

My Java web application makes CORS requests where the browser performs an OPTIONS preflight before the actual request. The format of each request is as follows: Host: localhost:8080 User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:63.0) Gecko/2 ...

Using Python with Selenium to automate printing in Chrome

Season's Greetings and Happy Holidays! I have developed a script that automates the process of opening a webpage in Chrome, logging in, navigating to a specific page, and then attempting to print it. However, I am encountering difficulties when trying to ...

Shut down Chrome Web Driver when closing the Windows Form

I have a simple query that I've been struggling to find an answer for. Every time I try to close my Windows Form with the Selenium Chrome Web driver running, it shuts down the application but leaves the Chrome console and browser open. Is there a way ...

Having trouble debugging TypeScript files in Chrome following an Angular update

I have been experimenting with writing a basic app using Angular 4.2.5 to expand my knowledge. Previously, I was able to debug the TypeScript files in Chrome without any issues. However, after updating to Angular 5.2.7, I am no longer able to view the Type ...

Learn how to utilize Selenium in Java to access properties such as Role:img

Upon inspection, a list of properties can be found in the Accessibility section of the webpage for the element under evaluation: Computed Properties Name: "" `aria-labelledby`: Not specified `aria-label`: Not specified `title`: Not specified Rol ...

Issue with Angular: PDF rendering delayed until window resize

Recently, I encountered an issue with rendering a PDF in Chrome while using an AJAX call with Angular. Strangely, the PDF would only show up in the browser if I resized the window or opened the console. Surprisingly, everything worked fine in Firefox. Jav ...

Chrome causing the vanishing act of floated iframes

I encountered an unexpected issue on my website recently. For the past three years, everything was working smoothly until I updated Chrome to version 60. Now, whenever I try to load iframes from Archive.org, they momentarily appear and then vanish instantl ...

Disabling Javascript in Chrome (-headless) with the help of PHP Webdriver

I am experimenting with using Chrome without JavaScript enabled. I attempted to disable JavaScript by adding the --disable-javascript command line argument. I also tried some experimental options: $options->setExperimentalOption('prefs', [ ...

How can I prevent encountering the "unicode escape" error when trying to decode certain bytes?

Attempting to create a spambot for Google Forms to generate random answers for a school assignment proved challenging. After struggling to write the code from scratch, I stumbled upon a pre-written script (link). However, despite spending hours installing ...

Encountered an issue when attempting to select the password field in order to log into a Google account using

Having some trouble automating the login process for my Gmail account. Managed to find the email element with an ID, but hitting a roadblock trying to locate the Password element as it doesn't have an ID. Here's what I've attempted: passw ...

Adjust puppeteer window dimensions when running in non-headless mode (not viewport)

Is there a way to adjust the browser window size to match the viewport size in Chrome(ium)? When only setting the viewport, the browser can look awkward if it is not running headfully and I want to visually monitor what's happening within the browser ...

Infobars in Chrome are spreading to other windows

As I dive deeper into this issue, please bear with me while I gather more information and update the question accordingly. I am currently working on automated tests using Selenium and Java within IntelliJ 2019. However, after upgrading Chrome to version 7 ...

When trying to insert JavaScript into the console, a section of the code fails to execute

In this code snippet, I am fetching the most common English words from Wikipedia, extracting all the words from the page, and then filtering out the commonly used words: // get table data from most common words var arr = []; $.ajax({ url: 'https://en.w ...

The commands sent to the Target Session after the initial one will have no impact. This applies to Chrome Selenium CDP Bidi API - Next Commands

Greetings everyone! I'm currently encountering a significant issue with hooking the TargetCreated Event and sending CDP commands to each new target discovered. I am utilizing the latest versions of Selenium and Chrome for this task. Upon initiating ...

What causes the creation of a null session by Selenium ChromeDriver in Unix-based operating systems?

I have created an application that is designed to scrape web pages using Selenium. While the ChromeDriver works flawlessly on Windows, it encounters issues on Unix-based operating systems such as Mac and CentOS7. The main problem seems to be the error me ...

An issue has arisen where Selenium Auth0 is unable to establish a connection with the server

I am using a protractor selenium test for an angular2 application that I execute with the command protractor conf.js --params.login.username=John --params.login.password=Doe. The purpose of the test is to attempt to log in to the backend and intentionally ...

What are the differences between a Chrome app and extension? Is there any other way to access the tabs currently open in your

I need to develop an app that can access the tabs a user has open, but I'm struggling to find a way to do so without having my app run in Chrome itself. Creating an extension restricts the UI significantly, which is problematic since my app requires a sl ...

Unable to close Chrome driver following completion of capybara test

Currently, I am utilizing capybara 2.1.0 along with the default selenium webdriver, minitest, and test::unit. For certain tests that require the use of the .hover method, I switch to the Chrome webdriver. However, after running these tests using Chrome, I ...

The tab functionality in Python Selenium is effective when using Firefox, however, when using Chrome, it

I have been working on a script that is designed to open multiple websites in new tabs. Initially, everything seemed to work perfectly in Firefox. However, when testing the script on Chrome, I encountered an issue. It opens a new tab as expected but the l ...

Duplicate user scrolling input within a specified div container

I am attempting to recreate a horizontal scrolling effect on a div element that mirrors the input scroll. When the user scrolls along the input, I want the div element to scroll in sync. The issue I am encountering is specific to Chrome, where the input b ...

Chrome isn't showing the Background Image

I am currently working on coding a basic HTML/CSS page and I want to include a background-image within a div element that links to a URL. Interestingly, my code is functioning properly in Safari (Mac) and Firefox but unfortunately not showing the desired r ...

Steps to click on the download icon while a PDF is displayed in a new tab through Selenium

Need help with automating the process of downloading a PDF opened in Chrome browser as a new tab WebElement root=DriverManager.getDriver().findElement(By.id("viewer")); WebElement shadowdom1=getShadowDOM(root,DriverManager.getDriver()); ...

Text aligned vertically within an element using the table-cell display attribute in the Chrome browser

Struggling to align text inside an element styled with display: table-cell? The issue arises when dealing with multiline text in a tab format. Achieving the correct vertical-align: middle; requires displaying it as a table-cell, which works well in most ca ...

What is the best way to extend the page load timeout for the Selenium Chrome driver?

My current setup involves using the Chrome driver to upload files to a remote server, which can sometimes take more than 30 minutes. In order to accommodate this, I have set the page load timeout value as shown below. driver.Manage().Timeouts().PageLoad = ...

The content is unclipped with a border-radius and hidden overflow

As I work on incorporating stylistic text inside rounded divs, I encounter a challenge where the text touches the top of the container. While I have successfully managed to customize various content elements such as nested divs and background images, this ...

CSS - Placeholder styling not being effective when selectors are grouped

Why is Chrome successful at executing this code: .amsearch-input::-webkit-input-placeholder { color: red; } <input class="amsearch-input" placeholder="It works!" /> ...while it doesn't work in other browsers: .amsearch-input::-webkit- ...

Strangely peculiar glitch found in browsers built on the Chromium platform

During a school assignment, I'm attempting to adjust the width of a button using Javascript. Below is my code: const button = document.querySelector("button"); button.addEventListener("click", () => { console.log(button.offsetWidth); butto ...

My custom Chrome Driver is not being utilized by Selenium and instead, it is defaulting to a different one

Trying to extract the source code of a webpage using Python has become quite challenging. Due to compatibility issues, I had to resort to Google Chrome 114 instead of the latest version 116. Even after creating and downloading my own version that should wo ...

Error occurred in the main thread: org.openqa.selenium.InvalidElementStateException:

Today, I encountered an issue while trying to send input string to the search text box on a Chrome browser: // attempting to search for a text in Google WebDriverWait wait3 = new WebDriverWait(driver1,30); WebElement textBox = wait3.until(ExpectedConditio ...

Discovering xpath in Chrome Version 58.0.3029.81 (64-bit) can be done effortlessly with the help of xpathfinder. Unfortunately, the shortcut shift+ctrl+x

Having trouble locating the xpath in Google Chrome Version 58.0.3029.81 (64-bit) using xpathfinder. The shortcut shift+ctrl+x is not working for this. This xpath would be used with selenium 3.3.1 for automation testing. Your assistance is greatly appreci ...

Is the column-fill property malfunctioning in Chrome?

column-fill: balance; is said to "equally divide content between columns". It appears to be functioning correctly in Firefox and Edge. However, Chrome (and Opera) seem to have a strong aversion to the second column, leaving it mostly empty. It seems to be ...

What is the most efficient method for conducting cross-browser compatibility testing on a web application with Selenium automation?

After dedicating a significant amount of time to research without finding a suitable solution, I turned to StackOverflow for help. I have been using Selenium Webdriver to automate testing on various browsers. However, recently I encountered issues with ol ...

Issue with Chrome not triggering onMouseEnter event when an element blocking the cursor disappears in React

Important Note: This issue seems to be specific to Chrome Currently, React does not trigger the onMouseEnter event when a blocking element disappears. This behavior is different from standard JavaScript events and even delegated events. Below is a simpli ...

What is the reason for the enhanced sharpness of fonts in Chrome compared to other browsers?

I couldn't find an answer to this question through my searches on Google, so I apologize if it's already been asked. I've been working on a web project recently and one thing I noticed is that the fonts appear much bolder in Firefox or Safar ...

The Flutter image blurs into a striking combination of red and black as the screen dimensions are altered

https://i.stack.imgur.com/YeZa6.png Hello everyone, we are facing an issue with Flutter web. Here's what's happening: When we use flutter run -d chrome --web-renderer canvaskit and flutter run -d chrome --web-renderer html, nothing changes. If we open th ...

Issue on Chrome browser where Ajax content fails to load when the page is refreshed

I'm using Ajax to load content from a JSON file and injecting it into the HTML. The initial page load in Chrome works fine, as does refreshing the page with the browser button. However, when hitting enter in the address bar, the content fails to load. ...

Chrome Canary's behavior with CSS border-radius on tiny objects

Is it possible to achieve CSS border-radius on really small objects in Chrome Canary? This experiment with a 3px high line and a 2px border radius, when zoomed in at 600%, doesn't show much difference: It works perfectly fine in regular Google Chrom ...

Having trouble successfully logging in to a website using Python and Selenium through Chrome

After updating Chrome from Version 83 to Version 89, the following code stopped working and always fails. The failure causes the password field to move to the username location, resulting in it being appended to the username (usernamepassword). from se ...

Step-by-step guide to generating a fingerprint for Chrome 79 with Selenium

After attempting to run the following code line, it failed to execute properly: option.add_argument("user-agent=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36") Despite setting ...

Tutorial on activating the "enable-unsafe-localhost" setting in Chrome using Selenium

Can you guide me on how to enable the "allow-insecure-localhost" flag in selenium driver? selenium: 3.12.0, Python:3.6.5 Here is the code snippet for creating a Chrome driver: def create_driver(): options = Options() if sys.platform == "darwin ...

Having trouble initiating Chrome browser with Selenium 4.0.0 and ChromeDriver in conjunction with Java 16.0.1

Ever since upgrading Selenium to 4.0.0, I've been encountering issues with opening Chrome and Firefox browsers. Here are the specifics: Chrome : Version 96 Chrome driver : Updated to support version 96. Downloaded from this link Selenium : 4.0.0 This ...

Google Chrome has trouble displaying the body element at 100% height

Having an issue with Google Chrome – the body element is not reaching 100% height. In my website samples, at 100% zoom when hovering over a menu element (such as "O nás"), I change the background color of the body element. However, in Chrome, the botto ...

What could be causing the RTCPeerConnection icegatheringstatechange to not function properly?

I have been trying to utilize the icegatheringstatechange event handler, but it doesn't seem to be functioning properly. Is there a different method I can use to monitor changes in icegatheringstate? How can I determine when all ice candidates have been ...

Is it possible for the Chrome debugger to locate TypeScript files that have not been served by the

I am creating .js.map files to assist in debugging my TypeScript code within Chrome. The js.map files specify the correct location of the TypeScript in the "sources" property. sourceRoot is set to "", and sources represent the path to the TypeScript code ...

Having trouble with selecting checkboxes in a div using jQuery? While it may work in IE and Firefox, Chrome seems to be causing issues

In my div, I have several checkboxes placed under labels for formatting purposes. There is a list of checkbox names that need to be checked upon certain actions. Here is the list: var columns= ['2','5','4'] This is the curren ...

The latest version of Chrome does not store the authentication token in the local session when using msal-browser

I have a Teams React app, but ever since the last Chrome update, I haven't been able to save the authentication token in local session with MSAL. Here is my configuration: MSAL-broswer: 2.38.1 Chrome version: 117 MSAL-configuration: ` { auth: { ...

The Selenium script for running Chrome in headless mode is not functioning as expected

Version 106.0.5249.62 of Chrome the situation is...blah, blah, blah In a desperate attempt to create a script using selenium to snatch those certain files that would rock my world, I have taken the bold step of running chrome in headless mode. The gods lo ...

Troubleshooting Compatibility Issues: JavaScript Function Works in Chrome but not in Internet

After collaborating with fellow coders to develop info boxes using HTML, CSS, and JavaScript, I have come across an issue with the hover functionality not working properly in Internet Explorer. Interestingly, everything functions flawlessly on Google Chrom ...

Why does Chrome consider this file a document, but Firefox sees it as an image?

I am experiencing an issue with the download GET endpoint in my Express app. Currently, it reads a file from the file system and streams it after setting specific headers. Upon testing the endpoint in Chrome and Firefox, I noticed that the browsers interp ...

Display in Google Chrome without any dialogues

Hello friends, I am currently working on adding a print button to my website. I am testing it in Chrome and would like the page to be printed directly without showing any dialog boxes. However, I am facing some difficulties with this process. If anyone has ...

Clicking on a href link inside a scrollable div-container causes it to malfunction, causing the page to jump

I have a draggable div container that contains dynamically generated content. In order to display this container, I use the following code: $( function() { $( "#dialog-message" ).dialog({ modal: true, height: 400, buttons: { Fertig: functi ...

Issue encountered with Selenium and Python: TypeError is raised due to multiple values being passed for the 'executable_path' argument in the __init__() function

Error is: TypeError: __init__() got multiple values for argument 'executable_path' I'm having trouble pinpointing the issue. chrome_options = Options() #line 8 chrome_options.add_argument('--headless') #line 9 chrome_options.add_argument('--no-sandbox') ...

Error encountered: WebDriver session not found while using ChromeDriver with Selenium and Jasmine

Currently, I am working on creating an automated test for my website using a combination of Jasmine and selenium. However, when I run the tests on chrome with chromedriver, I encounter the error below randomly. This issue occurs frequently enough that it ...