Questions tagged [chrome]

A web browser developed by Google.

Filter by
Sorted by
Tagged with
6
votes
1answer
2k views

Automated tests performed on Google Chrome?

I've been using the Canary build (nightly build) of Chrome for a month now. So far the quality has been high and it has worked without any major issues. Can someone describe the automated testing ...
6
votes
2answers
21k 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. ...
6
votes
1answer
5k views

Selenium WebDriver sometimes fails to connect to the browser when running tests in headless mode

I'm experiencing timeouts when Webdriver connects to the Chrome browser in headless acceptance tests setup on Linux. I'm using the following setup to run the tests: Vagrant machine with Ubuntu 14.04 ...
5
votes
7answers
12k 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 ...
5
votes
2answers
883 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? ...
5
votes
2answers
109 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 ...
4
votes
5answers
28k 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 ...
4
votes
2answers
676 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 ...
4
votes
2answers
5k views

Getting response headers with Selenium Webdriver / Chromedriver

I have a cucumber project in Ruby using Selenium Webdriver and Chromedriver and I would like to know if a page I access is up or in maintenance. To do this, I would like to access the response-headers ...
4
votes
3answers
273 views

I need to automate the testing of installing Chrome and Firefox extensions. Suggestions?

We are developing extensions for Firefox and Chrome. We need to test installing, uninstalling and ultimately interacting with this extension in a basic way (it will bring up a dialog to log into an ...
3
votes
2answers
674 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 ...
3
votes
2answers
5k 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 ...
3
votes
2answers
3k 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 citing this error - WebDriverError: unknown error: ...
3
votes
2answers
326 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 ...
2
votes
2answers
4k 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 ...
2
votes
1answer
609 views

Can/should ChromeDriver be installed on the same PATH (usr/bin) as Python, easy_install, etc.?

The Selenium WebDriver for Python video I'm watching instructs me to copy ChromeDriver to /usr/local/bin. When I view my $PATH, I can see /usr/local/bin, but if I cd to /usr/local/bin it says the ...
2
votes
1answer
19k 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 ...
2
votes
1answer
76 views

Google extension Check My Links returns different test results for the same webpage

I am using Check My Links to verify if a webpage has any deadlink, but interestingly, for the same given page, Check My Links returns a few different test results. One result is 183 while another one ...
2
votes
2answers
644 views

Chromedriver 2.21 clicks on a button but the application is not responding as it should? Could it be application compatibility problem?

I am running the application under test on Chrome-Version 49.0.2623.112 m (64-bit) manually. When I click on a particular button "Ophalen", a web service request is made and the responses are parsed ...
1
vote
7answers
11k views

How to do manual testing for responsive designs on various resolutions in Internet Explorer,Google Chrome and Safari

I have a site testing for compatibility issues and responsive designs on IE,Chrome,Firefox,Safari. In Firefox the testing was completed with ease as it had the developer options and there by pressing ...
1
vote
3answers
2k 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
1
vote
1answer
231 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, ...
1
vote
3answers
100 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 ...
1
vote
1answer
33 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 ...
1
vote
3answers
26 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
1answer
155 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?
1
vote
1answer
688 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 ...
1
vote
3answers
7k 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 ...
1
vote
1answer
541 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 ...
1
vote
2answers
77 views

Is there any difference in versions of Chrome across Android OS versions?

In checking Google Analytics to get develop a browser support list for my site, I'm finding that almost all (see below) Android versions are using the same version of Chrome (at the time of this ...
1
vote
1answer
416 views

How to install an older version of Chrome that HP UFT currently supports?

As HP UFT only support older versions of non-IE browsers, how can I install the older versions of Chrome? It seems obvious to others maybe, but I don't get it. I have 2 problems here and I will really ...
1
vote
1answer
7k views

Cucumber not finding chromedriver

I'm trying to get Chromedriver to work with my cucumber BDD/watir-webdriver setup. 1) Cucumber+ firefox: works fine 2) irb + chromedriver: works fine 3) cucumber + chromedriver : doesn't work Here's ...
1
vote
1answer
44 views

Is there a way to empty the browser appcache on mobile browsers? [closed]

On any mobile browser. Any info would be appreciated. I think I know how to do it on mobile safari, but I don't know about any of the others.
1
vote
3answers
3k 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....
1
vote
2answers
90 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
0answers
37 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 ...
1
vote
0answers
195 views

Windows, Google Chrome - Renaming multiple files with same name

As part of an automation process using Python Selenium, I'm downloading a number of files with the same name, and each one gets automatically renamed with the name followed by a number within brackets....
1
vote
1answer
57 views

Is there a way to save and reload browser appcache state?

On any browser, mobile or desktop. Just curious. Knowing how to do this or if this is possible would make my life way easier for testing.
0
votes
3answers
76 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 ...
0
votes
3answers
45 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
694 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
2answers
23 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
1answer
38 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 ...
0
votes
1answer
481 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
2answers
489 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 ...
0
votes
1answer
100 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> ...
0
votes
1answer
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!
0
votes
1answer
47 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-...
0
votes
0answers
46 views

BrowserMob Proxy not working with latest Chrome version (v.76)

I've recently upgraded my Chrome version from v70 to the latest, v76. As a result, I've noticed that my Selenium tests (which use BrowserMob Proxy to inject headers) have stopped working. The browser ...
0
votes
1answer
220 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 ...