Stack Exchange Network

Stack Exchange network consists of 174 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
Join us in building a kind, collaborative learning community via our updated Code of Conduct.

ChromeDriver is a standalone server which implements WebDriver's wire protocol for Chromium. WebDriver is an open source tool for automated testing of webapps across many browsers. It provides capabilities for navigating to web pages, user input, JavaScript execution, and more. ChromeDriver is ...

0
votes
0answers
3k views

ElementNotVisibleException: Message: element not visible Selenium in Python

I'm trying to click an options from a website dropdown menu but I am not able to click. I am using "xpath" locators for the element and I upgraded my chrome to the latest version for chromedriver. ...
0
votes
2answers
74 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 ...
1
vote
2answers
37 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
36 views

Error running selenium test on ubuntu

I'm having trouble running a selenium test on ubuntu, but everything works fine on my windows system. I'm using a mocha test suite, and am using selenium-webdriver to run the selenium test written in ...
0
votes
1answer
154 views

Screenshot with Katalon and Chrome headless mode

Copying/reposting from stackoverflow: https://stackoverflow.com/questions/51168671/screenshot-with-katalon-and-chrome-headless-mode. I'm using the following code to take screenshots of warning and ...
1
vote
1answer
58 views

How do I remove unnecessary console message pop up using selenium with Python?

When I used Chromedriver with selenium in python, I get a lot of console messages that are not useful to me and that don't affect my scraper. How do I not output these? I do not have this issue when I ...
0
votes
0answers
47 views

Selenium chromedriver timeout on get_element

I am running a crawler and I keep getting random timeout errors during get_element or element.text calls. Why would this happen? It's especially confusing when a .text call times out after the page ...
1
vote
1answer
80 views

Coded UI automation not working in Chrome

I have installed the following: Visual Studio 2017 Chrome Browser - Version 67.0.3396.99 (Official Build) (64-bit) Chrome Driver- 2.40 While running a coded UI automation in Visual Studios, I am ...
1
vote
0answers
47 views

how to interact the video in java selenium

I have a test case with video. Test Case scenario: There I want to check whether the link in the website and when we clicked that link played video link are same. [![Highlighted is linked to video][...
2
votes
3answers
813 views

How to handle a ReCAPTCHA picture?

How To Write Code in Selenium To Click This Picture , Down I Have Attached My Selenium Code. package Login; import java.io.File; import java.io.IOException; import org.apache.poi....
0
votes
2answers
139 views

Chrome Driver crashes on send_keys

I am a Windows 10 Python user. I use the most recent Python version from JetBrain (PyCharm) Until recently my code had no problem with the webdriver.send_keys command. I have recently tried to use ...
0
votes
1answer
69 views

Error while executing javascript code in python3 while using selenium

I was trying to remove the ad and other pop-up using selenium after opening the webpage. The pop-up is getting removed but the ad is not getting removed. There is some error in executing javascript ...
0
votes
1answer
167 views

How to open browser with extension already enabled

I get the following code to open chromedriver with extension but this extension is disabled, Is there any way that when chrome is launched, it launch with enabled extension - chrome_options = ...
0
votes
2answers
50 views

How to Extend Automated Testing with C#/Selenium-Webdriver/NUnit Testing Past Chrome to Other Browsers?

I inherited a test automation suite that I have built a lot on top of, however I am unclear on how to migrate the current setup to use drivers past the chromedriver. I'd like to also use IE, FF, and ...
0
votes
0answers
397 views

C# Selenium ChromeDriver throwing no such window: target window already closed

Spuriously, and irregularly it would seem, I am getting this exception when trying to locate an element on a page: OpenQA.Selenium.NoSuchWindowException : no such window: target window already closed ...
0
votes
0answers
18 views

How to locate item from list that is placed on (chromecast) popup?

Scenario that I want to automate: 1 Play video > ChromeCast button is shown on video 2 Select Chromecast button on it > Chromecast modal is shown with list of available devices 3 Select one (aimed) ...
2
votes
1answer
79 views

Selenium randomly hangs on getPageSource()

I have this part of code: try { Document doc=Jsoup.parse(broswer.getPageSource(),broswer.getCurrentUrl()); return doc; } catch (Exception ex) { event.log("Error while creating ...
0
votes
1answer
116 views

Can websites block selenium sendKeys() function?

I've been using selenium to autofill credit card information for certain websites. I use ChromeDriver and it had been working fine, but yesterday it seems like the website I had been using blocked ...
0
votes
1answer
824 views

How to get Embed link from Openload API after Remote upload? Selenium & Python

im trying to use Openloads API in python, i can do a remote upload like this: ol_url = driver.current_url resp = ol.remote_upload(ol_url) file_id = resp.get('id') Now i have a file uploaded in ...
-1
votes
2answers
485 views

How can I copy and paste part of a split URL using Selenium and Python

I have split URL, and I need to copy and paste a part of that split URL. It gives me an error when I use send_keys method: url_parts[4].send_keys(Keys.CONTROL, 'c') AttributeError: 'str' object has ...
1
vote
0answers
470 views

Selenium Chrome Driver: How to Load all the Frames and get the Complete Page Source?

I'm developing an web application that monitor changes in other websites. I came across some of the websites and that contain load of Frame set and Frames. I'm using the below code: var ...
1
vote
1answer
767 views

How to open two separate tabs in same google chrome window using webdriver and java?

I want to open two tabs in same window of google Chrome.I know this is common question. But none of the answers in them helped me to get this done. I'm using Chrome driver and java for it. I have ...
0
votes
1answer
428 views

Selenium with Chrome mobile emulator- can't make interactions

I'm starting to get frustrated with Chrome emulator: Using JAVA + Selenium + TestNG I'm testing many of our web applications which runs on few browsers. On mobile browser we have a special design - ...
0
votes
1answer
1k views

Selenium + ChromeDriver + Headless Chrome - failed to wait for extension background page to load

I am using Selenium 3.10.0 + ChromeDriver 2.37.543619 + Google Chrome 65.0.3325.162 I have a browser extension that I need when testing: Browser extension I am running this code: ChromeDriver ...
0
votes
1answer
39 views

Need to work on Chrome and IE concurrently in Selenium; Any possible workaround?

I have two applications - App A works in Chrome and App B does work only in IE. I have to fill a form in app A and validate the data that i have entered in App B. This entire process is part of the ...
0
votes
0answers
594 views

Unable to create new service - Selenium + Jenkins

I have an error in my Jenkins + Selenium integration, the Selenium Grid Version is 3.7.1 (Installed by default for the Jenkins Selenium Plugin). I'm using the last chromedriver version. When I run my ...
4
votes
2answers
2k views

Chrome argument “--disable-infobars” does not work with Chrome 65

When I start Chrome by Chromedriver with Selenium, Infobar is not hiddened. Because chrome has updated version 65.x.x.x. Here is my code: [VB.NET] Dim driverService = ChromeDriverService....
0
votes
0answers
41 views

getComputedStyle returns different background color for pseudo elements

I have a pseudo-element in dom that has a css property background-color of rgb(23,171,111) Now, when I try to get the CSS property using window.getComputedStyle function, I get a different color rgb(...
0
votes
1answer
122 views

How can I use Chrome WebDriver in another language [duplicate]

I want to be able to test with different languages. How can I do that with chromedriver ?
4
votes
2answers
145 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 ...
0
votes
0answers
986 views

Unable to focus the element : send_keys in Selenium Python

I am trying to enter data into a cell in table but none of the methods are working. Please help out on this issue : below image shows my code and the error pertaining to it!!!
0
votes
1answer
1k views

How to Launch multiple Chrome Browsers in Parallel using TestNG

I need to automate the two Web applications in parallel and that needs to validate in Chrome browsers. So I have two testng XML files(testng1.xml and testng2.xml), my scenario is to launch one ...
1
vote
0answers
656 views

Fixing mojom error after Chrome update

I wish there was some way to intercept new Chrome(driver) errors in SeleniumWebdriver before they hit my tests. The latest I have found is this one. Anyone have a fix? DevTools listening on ws://127....
1
vote
1answer
2k views

How to set socks5 proxy for Selenium ChromeDriver C# or Java? [closed]

I am trying to setup a socks5 proxy in ChromeDriver. I have used the below code for setting that up in C#: var options = new ChromeOptions(); var proxy = new Proxy() { Kind=ProxyKind.Manual,...
5
votes
1answer
194 views

Selenium downloads tmp file instead of CSV file

When I download a CSV file from a blob URL, the downloaded file always has a ".tmp" extension and wrong file name. When downloading the same file manually, the file extension and file name both are ...
0
votes
2answers
353 views

Open Browsers using Selenium WebDriver

I need to run my test case through chrome,Firefox and IE browsers in same time so how can i open two or more browsers using one single instance of Webdiver? Thanks.
2
votes
1answer
521 views

How can run selenium script in chrome browser using intelliJ IDEA 2017.2.4

I have created simple TestNG file with simple code to open chrome browser in IntelliJ IDEA but its throwing below error, please help me. My code: public class Sample{ @Test (priority = 0) ...
1
vote
1answer
75 views

URL address is Strikethrough when running Selenium Webdriver

I am running automation test on local url, after some time (happening randomly) url is strike-through for unknown reason and due to that , the site keeps on loading and test fails. using these ...
3
votes
2answers
195 views

How do I configure my env.rb file to be able to switch browsers?

Currently, here is part of my configuration with testing using Chrome: prefs = { 'download' => { 'default_directory' => "#{$myRoot}/PDF", 'prompt_for_download' => ...
3
votes
0answers
1k views

Headless Chrome with Docker Compose

I'm currently trying to setup headless chrome testing with Capybara in my docker-compose file. However, I keep getting that chromedriver has failed to start because it had crashed. Selenium::...
0
votes
0answers
186 views

How to switch to chrome extension from chrome window if it's not a frame and launching extension as .crx

We have a chrome extension it was previously a frame and I have written a code to switch to frame now they have modified and removed it as frame, I have used .crx to load the extension and switch to ...
0
votes
1answer
8k views

UnreachableBrowserException: Could not start a new session. Possible causes are invalid address of the remote server or browser start-up failure

I am trying to launch Chrome browser with cucumber script and getting: I'm Using Cucumber Selenium Script Selenium - 2.53.1 [31mFailure in before hook:[0m[31mLoginWorkFlow_StepDefinition....
2
votes
2answers
1k views

How does chromedriver.exe work on a core and fundamental level

I know that Selenium Webdriver is evolved from Selenium RC. Server in the Selenium RC was used to overcome the "same origin policy" using the proxy injection. Is it that the chromedriver.exe performs ...
0
votes
0answers
60 views

Selenium-Field input values keep on appearing, even after clearing it on both firefox and chrome

I am automating advance search page, where it has many input field values. In first case certain field value is entered then it is cleared in second test case, but again in third case that value was ...
0
votes
2answers
640 views

Issue executing Automation with Selenium/Nosetest set ups

having issue just trying to automate for the first time. I have access to repositories by GIT, where its python folders all use Python 2.7 syntax. I also have Google chrome driver as well(Using ...
0
votes
2answers
404 views

Unable to run remote tests using Selenium Grid Chrome in MAC OS

I am having problems running my selenium grid in mac. I have downgraded my server standalone from 3.4 to 3.0.1. I get a System.InvalidOperationException using 3.4 so I downgraded till I get to 3.0.1 ...
0
votes
0answers
760 views

Tests under chrome stopped to be run - timeout ERROR: An unknown server-side error occurred while processing the command. (UnknownError:13) chrome

I have: Windows 10 64 bit Chrome version 58 Node 6.10.1 Npm 3.10.10 chromedriver 2.29.0 Selenium standalone is run but after running my tests (with Chrome) there is an error in the console where ...
4
votes
1answer
2k views

Try Assert Exceptions not failing test in python unittest or better way to loop through failures

Okay I am running Chromedriver test that gathers console logs and then tests an assertion against pythons unittest. class ConsoleLogsTest(unittest.TestCase): @classmethod def setUpClass(cls)...
1
vote
1answer
1k views

Selenium Chrome basic authentication secure method

I'm still new to automation and what i want to know if this method is secure in bypassing basic authentication, considering we are using https. By browsing i couldn't find any better practices of this ...
4
votes
2answers
1k views

Selenium GeckoDriver vs ChromeDriver

I will try to be as clear as possible. Lets take an identical test case in both browsers. Open a page and find an element by the following method: wait.until(ExpectedConditions.elementToBeClickable(...