Comments (14)
Issue chromium:92488 has been merged into this issue.
Original comment by [email protected]
on 5 Mar 2012 at 10:21
from chromedriver.
Original comment by [email protected]
on 13 Mar 2013 at 11:55
- Added labels: Type-Bug
- Removed labels: Type-Defect
from chromedriver.
Original comment by [email protected]
on 14 Mar 2013 at 9:20
- Added labels: Pri-3
from chromedriver.
Original comment by [email protected]
on 14 Mar 2013 at 9:21
- Removed labels: Priority-Low
from chromedriver.
Original comment by [email protected]
on 14 Mar 2013 at 9:32
- Changed state: Started
- Added labels: Pri-2
- Removed labels: Pri-3
from chromedriver.
Original comment by [email protected]
on 16 May 2013 at 9:26
from chromedriver.
Original comment by [email protected]
on 3 Jul 2013 at 9:11
- Changed state: Accepted
from chromedriver.
Original comment by [email protected]
on 30 Sep 2013 at 10:52
- Changed state: Verified
from chromedriver.
[deleted comment]
from chromedriver.
This issue also reproduces when navigating away from a page that opens a
"beforeUnload" dialog. Using the sample HTML:
<html><body>
<script>
window.onbeforeunload = function() {
return 'You have unsaved changes!';
}
</script>
</body></html>
The following actions reproduced the issue:
driver.get("<url-to-sample-page>");
driver.get("http://www.google.com");
WebDriverWait wait = new WebDriverWait(driver, 2);
wait.until(ExpectedConditions.alertIsPresent());
driver.switchTo().alert().accept();
ANY command sent to Chrome driver will block at this point.
Surprisingly, the following does NOT reproduce the issue:
driver.get("<url-to-sample-page>");
((JavascriptExecutor)driver).executeScript("window.location =
'http://www.google.com';");
WebDriverWait wait = new WebDriverWait(driver, 2);
wait.until(ExpectedConditions.alertIsPresent());
driver.switchTo().alert().accept();
Since it's not specifically mentioned in the original post, this issue ALSO
reproduces when using the "back()" function:
driver.get("http://www.google.com/");
driver.get("<url-to-sample-page>");
driver.navigate().back();
WebDriverWait wait = new WebDriverWait(driver, 2);
wait.until(ExpectedConditions.alertIsPresent());
driver.switchTo().alert().accept();
Selenium version: 2.10.267521
Chromedriver version: 2.42.2
OS: Windows 7 64-bit (Windows NT 6.1 SP1 x86_64)
Browser: Chrome
Brower version: 37.0.2062.120
Original comment by [email protected]
on 15 Sep 2014 at 7:32
from chromedriver.
Original comment by [email protected]
on 21 Feb 2015 at 12:19
- Changed state: Untriaged
from chromedriver.
Issue is reproducible with chromedriver 2.15, chrome:v43.
Sample Code:
System.setProperty("webdriver.chrome.driver",Utility.getPath("drivers/chromedriv
er.exe"));
WebDriver driver = new ChromeDriver();
driver.manage().timeouts().implicitlyWait(1, TimeUnit.MINUTES);
driver.get("file://C:/Java/html/Bug_29.html");
driver.get("http://www.google.com");
WebDriverWait wait = new WebDriverWait(driver, 2);
wait.until(ExpectedConditions.alertIsPresent());
driver.switchTo().alert().accept();
System.out.println("test complete");
Original comment by [email protected]
on 3 Jun 2015 at 12:34
from chromedriver.
Original comment by [email protected]
on 3 Jun 2015 at 6:21
- Changed state: Available
- Removed labels: Type-Bug
from chromedriver.
Issue 654 has been merged into this issue.
Original comment by [email protected]
on 16 Jul 2015 at 11:35
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.