Questions tagged [chrome]

A web browser developed by Google.

Filter by
Sorted by
Tagged with
0
votes
1answer
319 views

Error when running a script

I'm new to selenium. I installed all the required Jars, but at the end when I run the script to see if it works, I got an error message. Please help. Code: import org.openqa.selenium.WebDriver; ...
4
votes
7answers
43k views

How can I bring Chrome browser to focus when running a Selenium test using ChromeDriver on Mac?

When executing a Selenium test with ChromeDriver, I would like to bring the test browser into focus to see the actions taking place. The way I am able to do that now is by manually clicking the ...
1
vote
3answers
7k 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....
3
votes
2answers
579 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-...
0
votes
1answer
3k 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. ...
3
votes
1answer
5k 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 ...
2
votes
1answer
55 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/...
0
votes
1answer
590 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: ...
3
votes
3answers
7k views

Unable to open Chrome WebDriver in another language

I'd really like to write a Selenium WebDriver test that verifies text is localized. The localization code bases the strings it displays on navigator.language (or navigator.userLanguage for IE). I ...
0
votes
2answers
28 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 ...
1
vote
1answer
1k 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 ...
0
votes
2answers
1k views

Selenium Download Keep and Discard Problem (.cer or xml extensions)

I am Test Automation Engineer, working with Selenium and Java. I am developing selenium automation tests but I have a problem with downloading something from the software I am working on. Chrome asks ...
-1
votes
2answers
26 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 ...
1
vote
2answers
4k 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 ...
1
vote
1answer
371 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 ...
0
votes
1answer
32 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 ...
0
votes
0answers
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 ...
3
votes
2answers
5k 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: ...
0
votes
1answer
430 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 ...
0
votes
1answer
4k views

Running the Chrome Browser headless using selenium webdriver with Cucumber on Ubuntu

I have a setup that runs on mac fine (currently launches browser and uses chromium), what i need to do now though is get this running on Ubuntu 14.04 (Amazon EC2 instance), and have chrome or chromium ...
-1
votes
2answers
1k 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 ...
3
votes
2answers
73 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 ...
0
votes
2answers
1k 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 ...
0
votes
2answers
42 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 ...
1
vote
1answer
789 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 ...
1
vote
2answers
1k 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, ...
0
votes
2answers
368 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 ...
0
votes
3answers
122 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 ...
1
vote
1answer
583 views

Can't open chrome web browser on android

I'm getting the error below when I try to open default chrome web browser on my mobile phone using Appium and c#. It opens chrome for few seconds and it get dispersed, So I can't perform my test ...
0
votes
2answers
1k 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 ...
0
votes
1answer
59 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-...
2
votes
3answers
6k 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 ...
3
votes
2answers
1k 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 ...
1
vote
3answers
28 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 ...
1
vote
3answers
3k views

Selenium + Chrome browser : How to Validate Downloaded file after clicking on downloaded button/ link using Selenium [closed]

How to Validate Downloaded file after clicking on downloaded button/ link in chrome browser
0
votes
1answer
549 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 ...
0
votes
1answer
168 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 ...
5
votes
7answers
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 ...
2
votes
2answers
5k views

Automation halts when browser popup appears in chrome for robot framework

I am using latest version of chrome 53.0.2785.57 beta-m (64-bit). When I execute my test script, at a point of time when deleting a line item chrome default confirmation popup appears and test fails ...
5
votes
2answers
2k views

Using SuperTest/Protractor on unsecure HTTPS

I am trying to run automated API tests on localhost with an invalid cert. Is there a chromeOption equivalent to "Proceed Anyway" that I can pass to the tests so they can get a response from the url? ...
2
votes
1answer
984 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 ...
0
votes
1answer
1k 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 ...
0
votes
3answers
58 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 ...
0
votes
2answers
840 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 ...
6
votes
2answers
399 views

Testing CSS styles and design elements of website

How to find the CSS attributes for website. For eg: I have a testcase where I need to test the styling and design of a Button for webpage. How can I retrieve the elements, if for example I need find ...
1
vote
2answers
121 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 ...
1
vote
1answer
190 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?
6
votes
2answers
30k views

How to stop running selenium tests AFTER webdriver.quit()?

I have made a Windows Forms app to host my GUI for running selenium tests. When the user presses the "run test" button, it launches an instance of chromedriver and runs the selected selenium test. ...
1
vote
3answers
10k 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 ...
2
votes
1answer
26k views

How to save a copy of web page DOM using selenium webdriver and JAVA/C#

I need to write a crawler that crawls throughout exercises available on my website (1200 exercises) and save a copy of DOM in my local as I have to use that DOM to create an exercise DVD. Can anyone ...