Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [chrome]

A web browser developed by Google.

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
18k 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
11k 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
690 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
101 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
23k 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
374 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
4k 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
265 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
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 ...
2
votes
2answers
3k 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
523 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
15k 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
71 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
533 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 ...
2
votes
0answers
114 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
448 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
7answers
10k 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
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
1answer
130 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
516 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
5k 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
2answers
68 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
410 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
2answers
68 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
31 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
1answer
466 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
0answers
184 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
43 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
1answer
23 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
168 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
260 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
83 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
30 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 ...
0
votes
0answers
118 views

Selenium Python ->Browser zoom

I have a problem with browser zoom in Google Chrome and FireFox I have one button what overlap by another element(my page always have 100% zoom it is very bad for me because a lot of elements are ...
0
votes
3answers
23 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 ...
0
votes
3answers
1k 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....
0
votes
1answer
321 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. ...
0
votes
1answer
390 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
2k 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 ...
0
votes
0answers
70 views

Dropdown is not consistent in Selenium Webdriver 3

I just updated my webdriver from NUGet this morning and I am having issues with the dropdown. Below is my code: public static void SelectDDL(this IWebElement element, string value) { element....
0
votes
2answers
642 views

Testcases fails on chromedriver

I am using chrome Version 34.0.1847.116 on Mac OSX 64 bit. When I run the testcase using chrome, the testcase fails. The same testcase works in firefox. public class Test { private WebDriver ...
0
votes
1answer
1k views

Using Selenium webdriver with chrome browser - Junit or java - how to upload a file from desktop(or any folder in pc) to application [duplicate]

Using Selenium webdriver with chrome browser for automation - Junit or java programming - how to upload a file from desktop(or any folder in pc) to application
0
votes
1answer
794 views

Object Spy for Chrome Extensions

I need to automate Chrome Extension. But I am trying to avoid tools that use Image recognition of coordinate system. Is there any way to automate or at-least Identify individual Objects on the ...