FuckTheWorld / chromedriver

Automatically exported from code.google.com/p/chromedriver
0 stars 0 forks source link

"Timed out receiving message from renderer" when switching windows #1078

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Running the following test times out on the second last line. 

from selenium import webdriver
driver = webdriver.Chrome(service_args=['--verbose', 
'--log-path=chromedriver.log'])
driver.execute_script('window.open("chrome://newtab")')
driver.switch_to_window(driver.window_handles[0])
driver.get_screenshot_as_base64()
driver.get('http://www.google.com')
driver.switch_to_window(driver.window_handles[1])
driver.get_screenshot_as_base64()
driver.quit()

TimeoutException: Message: u'timeout: Timed out receiving message from 
renderer: 10.000\n  (Session info: chrome=44.0.2360.0)\n  (Driver info: 
chromedriver=2.15.322455 
(ae8db840dac8d0c453355d3d922c91adfb61df8f),platform=Mac OS X 10.8.5 x86_64)'

Tested on Mac OS X and Ubuntu.

Original issue reported on code.google.com by samu...@chromium.org on 9 Apr 2015 at 8:36

GoogleCodeExporter commented 9 years ago

Original comment by lei...@chromium.org on 9 Apr 2015 at 9:11