Questions tagged [chromium]

Chromium serves as the foundation for Google Chrome, providing the source code for the popular web browser.

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

Issue occurred while attempting to execute Selenium / Chromedriver concurrently

I am facing an issue with a code snippet that takes a screenshot of a locally hosted website (https://) when executed "on-demand." The problem arises when the code runs twice in the same second causing the following error: Traceback (most recent call last) ...

"Encountering a problem with the SPACE key functionality in the send_keys method while using the chromium

Equipment used: Raspberry Pi 4 Raspbian operating system chromium-driver version 72.0.3626.122-1~deb9u1 selenium version 3.141.0 Encountering an unusual behavior where using ActionChains(driver).send_keys(Keys.SPACE) in Chromium Browser results in the inp ...

Selenium Edge browser - unable to start session: No suitable capabilities detected

Attempting to execute a Selenium test using Java and the Edge driver, which is based on Chromium. The version of Edge Dev installed on Windows 10 is 83.0.478.37 (Official build dev 64-bit): Selenium Version : 3.141.59 Utilizing webdrivermanager setup fo ...

When viewing super-sized (local) files in Chrome(ium), HTML5 video doesn't display images

I am currently developing an Electronjs application that requires playing very large videos stored on the user's machine. I have experimented with using both the vanilla HTML5 video tag and other players. Interestingly, small videos load and play without a ...

I am working on creating an automated system for a website using Selenium WebDriver. Strangely, the xpath is showing up as underlined. Does anyone have any insight into why

Hey everyone, I am facing a minor issue while trying to automate a daily questionnaire. I was following a tutorial on YouTube and at around the 5:50 mark, the instructor copied an xpath code and pasted it on the side. But when I tried the same, my code got ...

Headless Chromium on Raspberry Pi 4 shutting down suddenly due to Puppeteer integration

I'm attempting to automate form submissions using puppeteer on my Raspberry Pi 4 (4GB RAM), and encountering some unusual issues. My script operates flawlessly with headless: false, but when transitioning into headless mode, problems arise. The code ...

Verifying credentials using Chromium pop-up window with Playwright

In my current project, I am using Playwright to automate the configuration of multiple devices. However, I have encountered a challenge with certain models that require authentication through a popup dialog box in Chrome. https://i.stack.imgur.com/jgnYM.p ...

Tips for deactivating a Chrome extension using Selenium

Is there a way to prevent chrome extensions from starting up every time I run my Selenium Chrome code? Example Code public static void main(String[] args) throws IOException { System.setProperty("webdriver.chrome.driver", "C:\\ ...

Using Python, bring in browser cookies as JSON data

I have been attempting to import JSON cookies into a website using Selenium from a file named "cookie.json", but I am unsure of the correct approach. So far, my attempts have involved using "driver.add_cookie(cookie1)" with the variable pointing to the pat ...

Discovering how to access the console once an Electron app has been packaged

Just as the title implies, I have successfully created a node / angular application using electron. The application works perfectly when launched with the electron ./app command. However, after building it (using either electron-packager or electron-builde ...

"Tree panel items in ExtJS 4 are displaying correctly in Firefox, but are mysteriously missing from

While working on my Tree Panel project, I encountered an issue with the display of items in different browsers. The items show up correctly in Firefox but appear empty in Chromium. How is this possible? Here's the JSON data sent to the server: {"tex ...

When attempting to initiate a new session with Docker Alpine running JDK, Chromium, and Selenium, an error occurred. This could be due to either an incorrect address for the remote server or

When my java application worked correctly on local Ubuntu without Docker, it had the following setup: JDK 11, Spring Boot, Selenium 4.0.0-rc-1, Chromium 97.0.4692.99, ChromeDriver 96.0.4664.45 However, when I migrated the Java app to Docker (Alpine), it ...

Puppeteer and Chromium are ready to go with no need for any configuration

I have a specific HTTP request that I am trying to intercept, but I am encountering issues when chromium is launched through puppeteer. Some flags seem to be causing the requests to not return the expected data. However, everything works fine when I manual ...

Altering the download directory for Chrome/Chromium with the help of Puppeteer

Currently, I am using Ubuntu 16.04 LTS to work on a web scraping project where I am attempting to download a file using Puppeteer. However, I am facing issues with changing the download location in both Chromium and Chrome browsers. Despite trying the foll ...

The setting of the custom user agent in the Chrome Extension Manifest Version 3 is not functioning correctly

We currently have an extension that consists of only two files: manifest.json and background.js Despite the browser (Chrome version 112) not reporting any errors, we are facing an issue where the user agent is not being set to 'my-custom-user-agent'. Belo ...

Using Python to Automate Chromium with Selenium

I have developed a Python script that uses Selenium to gather data from various websites. It works perfectly on my Windows PC, but I'm now faced with the challenge of making it run on my Raspberry Pi. Since Chrome is not supported on the Pi, I need to use ...

Instead of watching the video player, the puppeteer automatically downloads the video file

So I have this code snippet below: ;(async () => { const browser = await puppeteer.launch({ args: ['--no-sandbox'], headless: false }) const page = await browser.newPage() await page.goto('https://www.w3schools.com/html/mov_bbb.mp4', ...

Creating a server that is exclusive to the application in Node.js/npm or altering the response body of outgoing requests

As I work on developing a node app, the need for a server that can be used internally by the app has become apparent. In my attempts to create a server without listening to a port, I have hit a roadblock where further actions seem impossible: let http = ...