Giter Club home page Giter Club logo

Comments (7)

GoogleCodeExporter avatar GoogleCodeExporter commented on August 24, 2024
In your log, it looks like the failing test is closing the window and then 
calling quit. Closing the window automatically quits if it is the last window. 
I don't think this is a ChromeDriver server issue, since ChromeDriver is 
receiving the quit twice. It looks like either the WebDriver client or your 
test case has some race leading to the double quit.

I tried setting up a few parallel tests with maven, but wasn't able to 
reproduce the problem. However, I may not have setup my project correctly for 
parallel test execution. It appeared the tests were only running one at a time, 
although the stdout had:
-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Concurrency config is parallel='methods', perCoreThreadCount=true, 
threadCount=6, useUnlimitedThreads=false

I've never used Maven before. Is this correct?

Original comment by [email protected] on 27 Feb 2012 at 7:13

from chromedriver.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 24, 2024
[deleted comment]

from chromedriver.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 24, 2024
Good call! My test framework overrides the finished() method of 
org.junit.rules.TestWatcher. The implementation invokes driver.close() followed 
by driver.quit()

Removing the call to driver.close() should resolve this issue.


Original comment by [email protected] on 3 Mar 2012 at 4:40

from chromedriver.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 24, 2024
Hello I am facing this issue


Error 
 The path to the chromedriver executable must be set by the webdriver.chrome.driver system property; for more information

If i have to run it from cmd using mvn install , who i need to define the 
dependencies of chrome driver.As currently i am using  

        <dependency>
            <groupId>org.seleniumhq.selenium</groupId>
            <artifactId>selenium-java</artifactId>
            <scope>jar</scope>
     <version>2.20</version>

and Running the in code as 

WebDriver driver = new ChromeDriver();
driver.get("http://www.google.com");

Original comment by [email protected] on 29 Mar 2012 at 12:22

from chromedriver.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 24, 2024
241.aditi, your issue is different.

See http://code.google.com/p/chromedriver/wiki/GettingStarted

Original comment by [email protected] on 29 Mar 2012 at 12:32

  • Changed state: Resolved

from chromedriver.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 24, 2024

Original comment by [email protected] on 13 Mar 2013 at 11:45

  • Changed state: Closed

from chromedriver.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 24, 2024

Original comment by [email protected] on 21 Feb 2015 at 12:27

  • Changed state: Fixed

from chromedriver.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.