Question: I found a similar topic [here](https://stackoverflow.com/questions/16775467/how-to-double-click-on-a-cell-in-table-with-selenium-ruby-webdriver/16775560#16775560?newreg=f405fe29748c4e638b9dfcda9c2da735) and followed the example, but the solution appears to not be working.

I am trying to double click on an element using the documentation found [here](http://www.rubydoc.info/gems/selenium-webdriver/Selenium/WebDriver/ActionBuilder#double_click-instance_method).

I have the following code:

```
@article_zone = @driver.find_element(:id, "nbviewer-zone-overlay-13B27E79C7BC32F1").attribute("id")

```

Which assigns `@article_zone = "nbviewer-zone-overlay-13B27E79C7BC32F1"`

I then have the next line of code:

`@driver.action.double_click("id=" + @article_zone).perform`

But this line is throwing the following error:
`Error: TypeError: expected Selenium::WebDriver::Element, got "id=nbviewer-zone-overlay-13B27E79C7BC32F1":String`

The element `id=nbviewer-zone-overlay-13B27E79C7BC32F1` is what I am trying to double click. I am at a loss as to why I am receiving this error.

Any assistance is greatly appreciated. Thanks for looking!

Answer: 
I found the way to solve the problem.

You need to take the camera's cartographic position via:

```
var currentPosition = viewer.camera.positionCartographic;

viewer.camera.setView({
    destination: Cesium.Cartesian3.fromDegrees(50.0, 5.0, currentPosition.height)
});

```
have you tried setting `maximumHeight`?

```
var viewer = new Cesium.Viewer('cesiumContainer');
var scene = viewer.scene;    
var height = 500000;

viewer.camera.setView({
    destination: Cesium.Cartesian3.fromDegrees(50.0, 5.0, height)
});

setTimeout(function() {
    viewer.camera.flyTo({
        destination: Cesium.Cartesian3.fromDegrees(-117.16, 32.71, height),
        maximumHeight: height
    });
}, 2000);

```

<http://cesiumjs.org/Cesium/Apps/Sandcastle/?src=Hello%20World.html&label=Showcases&gist=674299ee1a1bffffdc3a042018aadd2a>