Questions tagged [chrome]

A web browser developed by Google.

Filter by
Sorted by
Tagged with
1 vote
1 answer
136 views

CPU issues after upgrade to Selenium V4.11.0

After using selenium 4.11.0 version and launch error for 116 browser launch error was resolved. Has anyone observed Maximum CPU utilization issue after changing to selenium 4.11.0? I was using ...
Likitha Hs's user avatar
0 votes
1 answer
46 views

Execute same test scenarios in two different browsers simultaneously

We have created web automation scripts for particular website. And now the manual QA team requested to automate mobile responsiveness as well so we are using below code to achieve mobile ...
Darshani Kaushalya's user avatar
0 votes
2 answers
2k views

data: appearing in the address bar with selenium

I am using seleniumGrid with chromedriver for running a series of automated testcases with TestNG and Selenium The thing is that there are several tests that launch a new chrome window that has a &...
Pedro Santangelo's user avatar
0 votes
0 answers
1k views

org.openqa.selenium.remote.UnreachableBrowserException: Error communicating with the remote browser. It may have died

I am running selenium scripts on EC2 instance in headless mode. The scripts run multiple parallel chrome browsers. So 1 out of 3 times I get the following error - org.openqa.selenium.remote....
Sanjay Bhatia's user avatar
0 votes
1 answer
399 views

Selenium : webdriver.Chorme() function problems

I have difficulties in finding a solution, can you help me? This is the code text: from selenium import webdriver web = webdriver.Chrome("C:\ Users\giova\Desktop\chromedriver.exe") web.get(&...
Mr.Layton's user avatar
0 votes
1 answer
6k views

New pc setup and keep getting WebDriverException: unknown error: Failed to create Chrome process

Any new leads on this issue? I recently switched PC and now facing the same problem so many users faced. It was usually solved with downloading the latest chromedriver.exe or by moving the chrome.exe ...
Haris Psarropoulos's user avatar
2 votes
1 answer
1k views

How to start Chrome in automation mode from command line?

I am trying to find how to start Chrome as if it was started by webdriver, but manually from command line. I was looking at this list of options, but couldn't find what I need. https://peter.sh/...
CuriousGuy's user avatar
0 votes
1 answer
2k views

C# + chrome-driver : How to fix - cannot find Chrome binary/Chrome failed to start: crashed/Failed to create a Chrome process?

I am trying to run selenium using chrome-driver in my project. While creating object of chrome-driver facing errors : Message "unknown error: cannot find Chrome binary\n (Driver info: ...
Narendra Chandratre's user avatar
0 votes
2 answers
2k views

Extract InnerHTML from

Is there a way that I can extract the following data in Chrome Devtools Console. Currently I do the following in the console of the chrome devtool: $x("//a") I get a list with all the a ...
Quinten De Wilde's user avatar
-1 votes
2 answers
3k views

Checking for changes after clicking element that redirects to a new page

Browser: Chrome I am testing that when you click on a button, it becomes disabled (account selection). However, my check does not get executed until after the new page loads. I assume this is part of ...
Thomas's user avatar
  • 101
0 votes
1 answer
123 views

View webdriver tests running on EC2

I have my selenium webdriver tests on EC2. Chrome --headless flag is on and job is started from Jenkins. Is there a way to watch the live UI tests on the browser window via a VNC connection from my ...
Afsal's user avatar
  • 141
1 vote
1 answer
801 views

Looking for a solution to run selenium tests on EC2 with GUI

My selenium tests are triggered from Jenkins server which in AWS EC2-Ubuntu. But in EC2, since tests run on chrome-headless, debugging has become difficult. I tried XVFB display but had unresolved ...
Afsal's user avatar
  • 141
1 vote
1 answer
4k views

How to handle this below window/pop up in chrome when i click on print link . I need to recognize it and click cancel on it

When I click on Print link in chrome browser , a pop is opened which shows it as a PDF file and then on the right side there are printing options with save , print etc buttons . Now when I click the ...
Liza's user avatar
  • 11
2 votes
2 answers
6k views

How to use proxy with authentification in Selenium with Chrome WebDriver?

After hours of research I am still not able to use a proxy with authentification (username, password) in selenium using chrome WebDriver. Here is what I tried: using a chrome extension -> not ...
D. Jung's user avatar
  • 53
0 votes
1 answer
564 views

Not able to get all values from a table with selenium chrome webdriver using python [duplicate]

I want to know the way to collect all the information from a table from a web page. At the moment I am able to get only the records which are visible in UI. (18 rows). However there are 96 rows in ...
surendra choudhary's user avatar
-1 votes
2 answers
3k views

Selenium vba XPath/css Element not found for

I need help! I'm trying to connect to this Webpage and interact with it via WebDriver. I managed to open the page but when I'm trying to interact I get this error. I tried to press this Link/Button ...
slick_tang_tang's user avatar
3 votes
2 answers
183 views

Is there a browser extension that can record all user activity on a site, for the purposes of reporting bugs

We have a bug report coming in which is extremely user-specific, only one user is reporting it and furthermore they are only getting the error on their office wifi. it would help me to able to see ...
max pleaner's user avatar
0 votes
2 answers
2k views

How to open two separate tabs in same google chrome window using webdriver and python? [duplicate]

I need to test interacting with two tabs in Chrome. I've written a test in Python using Webdriver where I open Chrome with one tab. I need to open a second tab (similarly to using Ctrl+t) so I can ...
Armin's user avatar
  • 103
0 votes
2 answers
125 views

Headless mode buttons are hidden - I think the side drawer is closed?

Using webdriver.io and chrome for e2e test. In the browser GUI the test runs fine. But with headless chrome it complains about not finding buttons in the left side nav bar. I think in headless the ...
dman's user avatar
  • 127
1 vote
1 answer
2k views

How to disable selenium from taking physical mouse on Chrome on user's machine on a different monitor screen?

My issue is related to this question Disable physical mouse and keyboard in selenium but I didn't see an answer for this question. tests are being ran by Java + Selenium + Chrome on the same user's ...
Kim Nguyen's user avatar
0 votes
2 answers
645 views

"chrome.window.onRemoved.addListener()" does not executes when webdriver.quit() is executed in Selenium with Python

I want to perform logic on chrome.window.onRemoved.addListener(), it works exactly in chrome browser development environment and in selenium when performed with browser UI of selenium test, but when I ...
Abhishek Kumar's user avatar
0 votes
3 answers
195 views

Selenium un-enable to find element

I have been through every selenium related page on here but not much else I can really try. I am trying to click on the text link but It gives me 'org.openqa.selenium.WebDriverException: chrome not ...
Davidito's user avatar
0 votes
1 answer
68 views

Trying to use xpath in order to select a text on desktop web browser [duplicate]

This is the error I am getting below: selenium.common.exceptions.NoSuchElementException: Message: no such element: Unable to locate element: {"method":"xpath","selector":"//*[@id="select-input-...
QAtester-Light's user avatar
2 votes
3 answers
13k views

Programmatically determine chrome browser version regardless of OS

My problem is chromedriver 78 (currently the latest) doesn't work with Chrome 77. Ubuntu still has 77 in the apt-get repo for google-chrome-stable. My regression script automatically pulls down the ...
Marcel Wilson's user avatar
3 votes
2 answers
6k views

ChromeDriver : driver failed to parse value of getElementRegion - understanding the error

The chrome on my office Mac machine recently updated to 76+. Since then one of the tests, written in Protractor and CucumberJS, started failing to cite this error - WebDriverError: unknown error: ...
demouser123's user avatar
  • 3,532
1 vote
2 answers
2k views

Disable physical mouse and keyboard in selenium

I am trying to run an automated test that requires me to move the mouse around the page. The problem is that whenever the person running the test moves the physical mouse while the test is running, ...
Miguel Mesquita Alfaiate's user avatar
0 votes
1 answer
583 views

"failed to write automation extension zip" Error comes when I run my code after creating a Jar, It works in Eclipse IDE. But doesn't work as a Jar

Chrome version : 75.0.3770.100 C:\Users\ramkrishna.bhandare\Documents\StressTestExamination\OES Project>Title SeleniumExam. C:\Users\ramkrishna.bhandare\Documents\StressTestExamination\OES ...
Ramkrishna Bhandare's user avatar
4 votes
1 answer
8k views

Selenium: how to prevent a just-started Chrome window from receiving focus

Using Selenium + chromedriver on Linux, like so; chrome_options = Options() driver = webdriver.Chrome('/usr/bin/chromedriver',options=chrome_options) driver.get('https://www.somewebsite.com') Chrome ...
Roel Van de Paar's user avatar
0 votes
1 answer
398 views

Process for running test automation against Chrome Beta

I've been tasked with determining and implementing a method to run (not yet created) automated tests against the beta version of Chrome (https://www.google.com/chrome/beta/). We have yet to decide ...
kylokyler's user avatar
  • 447
1 vote
0 answers
2k views

Selenium headless browser - setting default page zoom

I have a problem with browser zoom in Google Chrome and FireFox. I have one button that is overlapped by another element (my page always have 100% zoom and is very bad for me because a lot of elements ...
QAP's user avatar
  • 11
3 votes
2 answers
1k views

How to select second value in drop using Katalon Chrome Extention?

I'm trying to make Katalon chrome extension to click the dd/mm/yyyy language. But the problem is when I record the click on dd/mm/yyyy Katalon records xpath=(.//*[normalize-space(text()) and normalize-...
Hanan Ur Rehman's user avatar
1 vote
3 answers
34 views

Can Chrome Dev Tools search an entire project for an html element?

I want to find all the places a certain icon is used throughout a pretty complex application. I know how to use a css selector and search. The problem is that it only searches the currently displayed ...
tooquick's user avatar
0 votes
3 answers
92 views

How to handle response varying from developer tool to code debugging in chrome?

I'm using RESTassured with Java. Getting response in compressed from UTF16 format. Response varies from developer tool to code debugging in Chrome/Firefox, here variation means some character got ...
sameer joshi's user avatar
1 vote
3 answers
8k views

Python Selenium Find Button

I have a Website were I want to click a button, but I can't find in the button in the HTML script, what I have to write in my Python script? Later I want to have something like driver....
Laurenz Z's user avatar
0 votes
1 answer
2k views

Can you set an Active Directory username and password using Chrome capabilities?

I currently have tests in rspec/capybara that use Active Directory to automatically log users in. I would like to specify a different username/password within a Chrome profile in order to test ...
CaptainKidd's user avatar
1 vote
2 answers
6k views

How to inspect a element in a drop down menu in chrome and firefox?

The problem here is when we hover the mouse over the particular menu item, drop down items going to visible. When trying to click the inspect element the drop down items are not going to be visible. ...
Suresh Madhusanka's user avatar
0 votes
2 answers
1k views

Need the same set of chrome extensions on browser page running under webdriver

When I run atomated tests with WebDriver using Chrome browser there is only one extension displayed on the page chrome://extensions/ - Chrome Automation Extension: But there some more extensions ...
Ivan Gerasimenko's user avatar
1 vote
2 answers
181 views

Rendering differences

A company I work for wants to do cross browser testing. Are there any differences between rendering on Chrome for Linux and Chrome for Windows? Should I test both or one is just enough as UI elements ...
LittleJohnny's user avatar
1 vote
2 answers
2k views

Python stops after opening webdriver

from selenium import webdriver driver = webdriver.Chrome("C:\Program Files (x86)\Google\Chrome\Application\chrome.exe") driver.get("https://www.google.com/") Hello, I am new to selenium and i have ...
ph1l1pp's user avatar
  • 13
1 vote
1 answer
224 views

How to close application choice popup in Chrome?

Is there is any option to close application choice pop up in Chrome, which occurs after clicking any call number button in mobile emulation?
ornichola's user avatar
2 votes
1 answer
1k views

Why do rspec-capybara chrome tests run headless fail on my mac and how to diagnose/fix it?

My colleague with a windows machine doesn't have this issue with the same code. All my tests that pass normally when run in chrome - fail when run headless at the point where the user presses save ...
Michael Durrant's user avatar
1 vote
1 answer
38 views

Need help isolating a laptop camera related issue (camera does not start on Chrome, but would otherwise work fine, only happens to 1 tester)

We are testing the upload camera video functionality on a website, however a tester from my team for some reason has a Chrome issue with her camera not turning on whenever she clicks the button on the ...
Camilo Carreño's user avatar
6 votes
2 answers
5k views

Force a browser's visibility setting to true

I'm trying to set up some specs against a real (not headless) browser but some of the javascript on the target page only runs if the browser is visible (it doesn't need to be the active app). I've ...
ian's user avatar
  • 113
3 votes
2 answers
2k views

How can I place on-screen messages with Chrome running under Selenium control?

I'd like to be able to see on-screen messages when my Chrome browser is running under Selenium, which will be useful to the human tester who occasionally monitors the execution manually. (The message ...
user1001630's user avatar
5 votes
7 answers
14k views

Enable Flash player on Chrome 62 while running selenium test

I noticed that starting Chrome 62, chrome disables Flash player by default. I wrote a simple selenium test to visit : https://helpx.adobe.com/flash-player.html and noticed that it does not enable ...
BountyHunter's user avatar
-3 votes
1 answer
5k views

How to disable user from closing the browser until Test Execution is complete ? using Selenium Webdriver & Chrome

User should not be able to close the browser using following methods. 1)Clicking X button of browser window 2)Using Alt+F4 3)Right-Click on Taskbar Icon + Close Window Edit : We require this ...
Ramkrishna Bhandare's user avatar
0 votes
1 answer
163 views

Displays error while select radio button in selenium

I'm writing testcases to select 7 radio buttons. While select the radio button it displays run time error. I have tried with below code : public void selecttemplate() { List<WebElement> ...
Rutvi Soni's user avatar
1 vote
0 answers
48 views

Selenium webdriver always headless [duplicate]

I am creating a simple webapp that allows my support colleagues to run Selenium Java Code from my custom created API. When from Eclipse (the app deployed in Tomcat8) I run a script, i can see in my ...
zone4182's user avatar
0 votes
1 answer
3k views

How to install Chrome v59 - headless - on Ubuntu? [closed]

I wanted to check out the headless version but I am still on version 58 even after updating my system This could dramatically reduce our test suite run time!
Michael Durrant's user avatar
1 vote
3 answers
11k views

Failed to load extension from popup box while running selenium scripts

I get the following popup box when I try to run my selenium script in java: Failed to load extension from: C:\Users\xyz\AppData\Local\Temp\scoped_dir20432_5430\internal. Loading of unpacked ...
kaushik3993's user avatar