Comments (7)
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.
[deleted comment]
from chromedriver.
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.
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.
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.
Original comment by [email protected]
on 13 Mar 2013 at 11:45
- Changed state: Closed
from chromedriver.
Original comment by [email protected]
on 21 Feb 2015 at 12:27
- Changed state: Fixed
from chromedriver.
Related Issues (20)
- Standardise CSS colours to RGBA HOT 6
- how can we not wait for the page has finished loading can continue to execute code after click() method HOT 4
- Can no long pass extensions as Base64 encoder CRX files. HOT 3
- Unexpected error. System.Object when using ImplicitlyWait HOT 4
- Finding element by compound CSS selector fails HOT 6
- SendKeys is slow HOT 7
- Java bindings are slow on linux HOT 5
- Headers names (at least for content-length) are interpreted as case-sensitive HOT 6
- Can't access gmail. HOT 4
- Disable popup blocking by default HOT 7
- Update ChromeOptions to include new ChromeDriver capabilities HOT 13
- close() on Chrome Web Driver causes pipe & channel errors HOT 8
- Chrome webdriver hangs (not reponding to check elements with css location HOT 5
- Chrome webdriver hangs (not reponding to check elements with css location) HOT 1
- ChromeDriver calls to Close() or Quit() crash ChromeDriver.exe HOT 22
- Incorrect rect objects are used in Session::GetClickableLocation method HOT 3
- running javascript crashes chromedriver HOT 5
- chromedriver throwing error for collections(find_elements) Selenium::WebDriver::Error::UnknownError: findElements HOT 28
- Chromedriver.exe stays running and leaves behind scoped_dir HOT 12
- chrome.prefs capability works unreliably
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chromedriver.